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:
committed by
GitHub
parent
58350bba5c
commit
579025d9b7
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user