diff --git a/checkin_notes b/checkin_notes index cda45b63b9..8cf764edab 100644 --- a/checkin_notes +++ b/checkin_notes @@ -8125,3 +8125,10 @@ David 6 Oct 2008 samples/example_app/ Makefile Makefile.debian (deleted) + +David 6 Oct 2008 + - client: show est CPC time of jobs returned by sched RPC, + if sched_op_debug; fixes #256 + + client/ + cs_scheduler.cpp diff --git a/client/cs_scheduler.cpp b/client/cs_scheduler.cpp index 9db6531fdf..406b4e8f84 100644 --- a/client/cs_scheduler.cpp +++ b/client/cs_scheduler.cpp @@ -412,6 +412,15 @@ int CLIENT_STATE::handle_scheduler_reply( msg_printf(project, MSG_INFO, "Scheduler request completed: got %d new tasks", (int)sr.results.size()); } if (log_flags.sched_op_debug) { + if (sr.results.size()) { + double x = 0; + for (i=0; i