aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/qps/usage_timer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/cpp/qps/usage_timer.cc')
-rw-r--r--test/cpp/qps/usage_timer.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/cpp/qps/usage_timer.cc b/test/cpp/qps/usage_timer.cc
index ac73925742..c6697fbdfd 100644
--- a/test/cpp/qps/usage_timer.cc
+++ b/test/cpp/qps/usage_timer.cc
@@ -37,6 +37,7 @@
#include <sstream>
#include <string>
+#include <grpc/support/log.h>
#include <grpc/support/time.h>
#include <sys/resource.h>
#include <sys/time.h>
@@ -68,7 +69,7 @@ static void get_cpu_usage(unsigned long long* total_cpu_time,
}
}
#else
- gpr_log(GRPC_INFO, "get_cpu_usage(): Non-linux platform is not supported.");
+ gpr_log(GPR_INFO, "get_cpu_usage(): Non-linux platform is not supported.");
#endif
}