We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2f23ef commit 4d23168Copy full SHA for 4d23168
unified-runtime/source/common/latency_tracker.hpp
@@ -94,7 +94,7 @@ class latency_printer {
94
for (auto &[name, histogram] : values) {
95
auto value = getValues(histogram.get());
96
auto f = groupDigits<int64_t>;
97
- logger.log(UR_LOGGER_LEVEL_INFO,
+ UR_LOG_L(logger, INFO,
98
"{},{},{},{},{},{},{},{},{},{},{},{},{},{},ns", name,
99
f(value.mean), f(value.percentileValues[0]),
100
f(value.percentileValues[1]), f(value.percentileValues[2]),
@@ -107,8 +107,8 @@ class latency_printer {
107
108
private:
109
inline void printHeader() {
110
- logger.log(UR_LOGGER_LEVEL_INFO, "Latency histogram:");
111
+ UR_LOG_L(logger, INFO, "Latency histogram:");
112
"name,mean,p{},p{},p{},p{},p{},p{}"
113
",p{},count,sum,min,max,stdev,unit",
114
percentiles[0], percentiles[1], percentiles[2], percentiles[3],
0 commit comments