diff options
author | Craig Tiller <ctiller@google.com> | 2015-10-09 16:57:11 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2015-10-09 16:57:11 -0700 |
commit | 0ba432d445b6415e04b8b9f20cb093b0a22a4361 (patch) | |
tree | bc67feed0d9c36405b6c7122c28e2a3f8213582b /test/core/profiling | |
parent | 44011e8ab3acd37677478b471dbb35877fadeaa1 (diff) |
Move profiling system to gpr
Diffstat (limited to 'test/core/profiling')
-rw-r--r-- | test/core/profiling/timers_test.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/core/profiling/timers_test.c b/test/core/profiling/timers_test.c index b79cde64bd..7070fe465f 100644 --- a/test/core/profiling/timers_test.c +++ b/test/core/profiling/timers_test.c @@ -54,15 +54,15 @@ void test_log_events(size_t num_seqs) { for (j = 0; j < advance; j++) { switch (state[i]) { case 0: - GRPC_TIMER_MARK(STATE_0, i); + GPR_TIMER_MARK(STATE_0, i); state[i]++; break; case 1: - GRPC_TIMER_MARK(STATE_1, i); + GPR_TIMER_MARK(STATE_1, i); state[i]++; break; case 2: - GRPC_TIMER_MARK(STATE_2, i); + GPR_TIMER_MARK(STATE_2, i); state[i]++; break; case 3: @@ -76,8 +76,8 @@ void test_log_events(size_t num_seqs) { int main(int argc, char **argv) { grpc_test_init(argc, argv); - grpc_timers_global_init(); + gpr_timers_global_init(); test_log_events(1000000); - grpc_timers_global_destroy(); + gpr_timers_global_destroy(); return 0; } |