From 8963495ec463e09ecc8fbe46f58413295dcd5b16 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Fri, 26 Dec 2014 17:43:00 -0500 Subject: [PATCH] WRAPPER: Use new graphics_status API to inform htmlgfx what is going on. --- samples/wrapper/wrapper.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/samples/wrapper/wrapper.cpp b/samples/wrapper/wrapper.cpp index 55776d47f1..929d6ae8eb 100644 --- a/samples/wrapper/wrapper.cpp +++ b/samples/wrapper/wrapper.cpp @@ -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;