aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/qps
diff options
context:
space:
mode:
authorGravatar Yuxuan Li <yuxuanli@google.com>2016-10-26 11:12:16 -0700
committerGravatar Yuxuan Li <yuxuanli@google.com>2016-10-26 11:12:16 -0700
commit1a9a0d8da8e34265e9742f02a954fbfce0a6a325 (patch)
treeead350ba8f4f031b09288b33640c34078ce84020 /test/cpp/qps
parentaa7411da04cb06198abe050eedcdfec425fea299 (diff)
fix logging problem
Diffstat (limited to 'test/cpp/qps')
-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
}