mirror of https://github.com/BOINC/boinc.git
WRAPPER: Use new graphics_status API to inform htmlgfx what is going on.
This commit is contained in:
parent
f8be188baf
commit
8963495ec4
|
@ -1142,6 +1142,12 @@ int main(int argc, char** argv) {
|
|||
check_trickle_period();
|
||||
}
|
||||
|
||||
boinc_write_graphics_status(
|
||||
task.starting_cpu + cpu_time,
|
||||
checkpoint_cpu_time + task.elapsed_time,
|
||||
frac_done + task.weight/total_weight
|
||||
);
|
||||
|
||||
boinc_sleep(POLL_PERIOD);
|
||||
if (!task.suspended) {
|
||||
task.elapsed_time += POLL_PERIOD;
|
||||
|
|
Loading…
Reference in New Issue