Replaces OMNITRACE_CONDITIONAL_BASIC_PRINT with OMNITRACE_VERBOSE (#97)

Replaces OMNITRACE_CONDITIONAL_BASIC_PRINT with OMNITRACE_VERBOSE and similar where possible

[ROCm/rocprofiler-systems commit: c006e542a5]
This commit is contained in:
Jonathan R. Madsen
2022-07-21 11:15:26 -05:00
committed by GitHub
parent 58350bba5c
commit 579025d9b7
11 changed files with 55 additions and 70 deletions
@@ -82,9 +82,8 @@ sampler::poll(std::atomic<State>* _state, nsec_t _interval, promise_t* _ready)
for(auto& itr : instances)
itr->config();
OMNITRACE_CONDITIONAL_BASIC_PRINT(
get_verbose() > 0 || get_debug(),
"Thread sampler polling at an interval of %f seconds...\n",
OMNITRACE_VERBOSE(
1, "Thread sampler polling at an interval of %f seconds...\n",
std::chrono::duration_cast<std::chrono::duration<double>>(_interval).count());
auto _now = std::chrono::steady_clock::now();