X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=helper_thread.c;h=47ec728cfa31d25f68742af81178bb95f3e5f928;hp=d716f2b2513da369a368cda2f03ee210a7b4810f;hb=fde57152fc4d04099588c83cdb8beb433b6ad7bd;hpb=16e56d250f72e4fec4591d562a5f4d7a16ba1bb8 diff --git a/helper_thread.c b/helper_thread.c index d716f2b2..47ec728c 100644 --- a/helper_thread.c +++ b/helper_thread.c @@ -125,7 +125,7 @@ static void *helper_thread_main(void *data) if (!next_log) next_log = DISK_UTIL_MSEC; - if (steadystate) { + if (steadystate_enabled) { since_ss = mtime_since(&last_ss, &now); if (since_ss >= STEADYSTATE_MSEC || STEADYSTATE_MSEC - since_ss < 10) { steadystate_check(); @@ -140,7 +140,7 @@ static void *helper_thread_main(void *data) } msec_to_next_event = min(min(next_log, msec_to_next_event), next_ss); - dprint(FD_STEADYSTATE, "since_ss: %llu, next_ss: %u, next_log: %u, msec_to_next_event: %u\n", (unsigned long long)since_ss, next_ss, next_log, msec_to_next_event); + dprint(FD_HELPERTHREAD, "since_ss: %llu, next_ss: %u, next_log: %u, msec_to_next_event: %u\n", (unsigned long long)since_ss, next_ss, next_log, msec_to_next_event); if (!is_backend) print_thread_status();