#include <job.h>
Data Fields | |
| unsigned long | completed |
| Amount of operation completed so far. | |
| unsigned long | total |
| Total operation size. | |
Definition at line 16 of file job.h.
| unsigned long job_progress::completed |
Amount of operation completed so far.
The units for this quantity are arbitrary. completed divded by should give something which approximately represents the progress through the operation. For a download operation, using byte counts would make sense.
Definition at line 24 of file job.h.
Referenced by downloader_job_progress().
| 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 31 of file job.h.
Referenced by downloader_job_progress().
1.5.7.1