Skip to content

Commit 4d23168

Browse files
committed
[UR] fix latency tracker build
1 parent b2f23ef commit 4d23168

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

unified-runtime/source/common/latency_tracker.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ class latency_printer {
9494
for (auto &[name, histogram] : values) {
9595
auto value = getValues(histogram.get());
9696
auto f = groupDigits<int64_t>;
97-
logger.log(UR_LOGGER_LEVEL_INFO,
97+
UR_LOG_L(logger, INFO,
9898
"{},{},{},{},{},{},{},{},{},{},{},{},{},{},ns", name,
9999
f(value.mean), f(value.percentileValues[0]),
100100
f(value.percentileValues[1]), f(value.percentileValues[2]),
@@ -107,8 +107,8 @@ class latency_printer {
107107

108108
private:
109109
inline void printHeader() {
110-
logger.log(UR_LOGGER_LEVEL_INFO, "Latency histogram:");
111-
logger.log(UR_LOGGER_LEVEL_INFO,
110+
UR_LOG_L(logger, INFO, "Latency histogram:");
111+
UR_LOG_L(logger, INFO,
112112
"name,mean,p{},p{},p{},p{},p{},p{}"
113113
",p{},count,sum,min,max,stdev,unit",
114114
percentiles[0], percentiles[1], percentiles[2], percentiles[3],

0 commit comments

Comments
 (0)