- client: add <suspend_debug> log flag

svn path=/trunk/boinc/; revision=25585
This commit is contained in:
David Anderson 2012-04-20 17:46:27 +00:00
parent f12e82917f
commit 0f3491baa7
3 changed files with 11 additions and 0 deletions

View File

@ -3405,3 +3405,9 @@ David 20 Apr 2012
process_input_template.cpp
dir_hier_path.cpp
create_work.cpp
David 20 Apr 2012
- client: add <suspend_debug> log flag
lib/
cc_config.cpp,h

View File

@ -89,6 +89,7 @@ int LOG_FLAGS::parse(XML_PARSER& xp) {
if (xp.parse_bool("slot_debug", slot_debug)) continue;
if (xp.parse_bool("state_debug", state_debug)) continue;
if (xp.parse_bool("statefile_debug", statefile_debug)) continue;
if (xp.parse_bool("suspend_debug", suspend_debug)) continue;
if (xp.parse_bool("task_debug", task_debug)) continue;
if (xp.parse_bool("time_debug", time_debug)) continue;
if (xp.parse_bool("trickle_debug", trickle_debug)) continue;
@ -134,6 +135,7 @@ int LOG_FLAGS::write(MIOFILE& out) {
" <slot_debug>%d</slot_debug>\n"
" <state_debug>%d</state_debug>\n"
" <statefile_debug>%d</statefile_debug>\n"
" <suspend_debug>%d</suspend_debug>\n"
" <task_debug>%d</task_debug>\n"
" <time_debug>%d</time_debug>\n"
" <trickle_debug>%d</trickle_debug>\n"
@ -172,6 +174,7 @@ int LOG_FLAGS::write(MIOFILE& out) {
slot_debug ? 1 : 0,
state_debug ? 1 : 0,
statefile_debug ? 1 : 0,
suspend_debug ? 1 : 0,
task_debug ? 1 : 0,
time_debug ? 1 : 0,
trickle_debug ? 1 : 0,

View File

@ -99,6 +99,8 @@ struct LOG_FLAGS {
// also show actions of garbage collector
bool statefile_debug;
// show when and why state file is written
bool suspend_debug;
// details of processing and network suspend/resume
bool task_debug;
// task start and control details, and when apps checkpoint
bool time_debug;