iPXE
|
Job progress. More...
#include <job.h>
Data Fields | |
unsigned long | completed |
Amount of operation completed so far. More... | |
unsigned long | total |
Total operation size. More... | |
char | message [32] |
Message (optional) More... | |
unsigned long job_progress::completed |
Amount of operation completed so far.
The units for this quantity are arbitrary. completed
divded by @total should give something which approximately represents the progress through the operation. For a download operation, using byte counts would make sense.
Definition at line 23 of file job.h.
Referenced by downloader_progress(), and monojob_wait().
unsigned long job_progress::total |
Total operation size.
See completed
. A zero value means "total size unknown" and is explcitly permitted; users should take this into account before calculating completed/total
.
Definition at line 30 of file job.h.
Referenced by downloader_progress(), and monojob_wait().
char job_progress::message[32] |
Message (optional)
Definition at line 32 of file job.h.
Referenced by dns_progress(), monojob_wait(), peermux_progress(), tcp_progress(), and validator_progress().