From 9d9cc9669cd4131f3cef101fde34ecd3b24a711f Mon Sep 17 00:00:00 2001 From: Jeff Cobb Date: Tue, 30 Nov 2004 00:08:11 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=4682 --- checkin_notes | 6 ++++++ sched/assimilator.C | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/checkin_notes b/checkin_notes index 2ade395cfd..2063358b50 100755 --- a/checkin_notes +++ b/checkin_notes @@ -20349,3 +20349,9 @@ David 29 Nov 2004 sched/ assimilator.C handle_request.C + +Jeff 29 Nov 2004 + - Log the number of WUs assimlated at the end of each WU enumeration. + + sched/ + assimilator.C diff --git a/sched/assimilator.C b/sched/assimilator.C index 95a62273a6..4fb3dfb688 100644 --- a/sched/assimilator.C +++ b/sched/assimilator.C @@ -58,6 +58,7 @@ bool do_pass(APP& app) { bool did_something = false; char buf[256]; int retval; + int num_assimilated=0; check_stop_daemons(); @@ -102,6 +103,11 @@ bool do_pass(APP& app) { if (did_something) { boinc_db.commit_transaction(); } + + log_messages.printf(SCHED_MSG_LOG::NORMAL, + "Assimilated %d workunits.\n", num_assimilated + ); + return did_something; }