diff --git a/api/graphics_api.C b/api/graphics_api.C index 318197d162..3559908cdc 100755 --- a/api/graphics_api.C +++ b/api/graphics_api.C @@ -208,11 +208,11 @@ bool throttled_app_render(int x, int y, double t) { // if (ok_to_render) { if (boinc_max_gfx_cpu_frac) { - boinc_thread_cpu_time(t0, m); + boinc_calling_thread_cpu_time(t0, m); } app_graphics_render(x, y, t); if (boinc_max_gfx_cpu_frac) { - boinc_thread_cpu_time(t1, m); + boinc_calling_thread_cpu_time(t1, m); total_render_time += t1 - t0; } return true;