diff options
author | 2016-10-26 11:12:16 -0700 | |
---|---|---|
committer | 2016-10-26 11:12:16 -0700 | |
commit | 1a9a0d8da8e34265e9742f02a954fbfce0a6a325 (patch) | |
tree | ead350ba8f4f031b09288b33640c34078ce84020 /test/cpp/qps | |
parent | aa7411da04cb06198abe050eedcdfec425fea299 (diff) |
fix logging problem
Diffstat (limited to 'test/cpp/qps')
-rw-r--r-- | test/cpp/qps/usage_timer.cc | 3 |
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 } |