From 0ba432d445b6415e04b8b9f20cb093b0a22a4361 Mon Sep 17 00:00:00 2001 From: Craig Tiller Date: Fri, 9 Oct 2015 16:57:11 -0700 Subject: Move profiling system to gpr --- src/core/transport/chttp2/parsing.c | 4 ++-- src/core/transport/chttp2/writing.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/core/transport/chttp2') diff --git a/src/core/transport/chttp2/parsing.c b/src/core/transport/chttp2/parsing.c index e71d4fc87a..04e4803227 100644 --- a/src/core/transport/chttp2/parsing.c +++ b/src/core/transport/chttp2/parsing.c @@ -69,7 +69,7 @@ void grpc_chttp2_prepare_to_read( grpc_chttp2_stream_global *stream_global; grpc_chttp2_stream_parsing *stream_parsing; - GRPC_TIMER_BEGIN("grpc_chttp2_prepare_to_read", 0); + GPR_TIMER_BEGIN("grpc_chttp2_prepare_to_read", 0); transport_parsing->next_stream_id = transport_global->next_stream_id; @@ -93,7 +93,7 @@ void grpc_chttp2_prepare_to_read( } } - GRPC_TIMER_END("grpc_chttp2_prepare_to_read", 0); + GPR_TIMER_END("grpc_chttp2_prepare_to_read", 0); } void grpc_chttp2_publish_reads( diff --git a/src/core/transport/chttp2/writing.c b/src/core/transport/chttp2/writing.c index 4abe00bb7c..69ad8854ba 100644 --- a/src/core/transport/chttp2/writing.c +++ b/src/core/transport/chttp2/writing.c @@ -181,7 +181,7 @@ void grpc_chttp2_perform_writes( static void finalize_outbuf(grpc_chttp2_transport_writing *transport_writing) { grpc_chttp2_stream_writing *stream_writing; - GRPC_TIMER_BEGIN("finalize_outbuf", 0); + GPR_TIMER_BEGIN("finalize_outbuf", 0); while ( grpc_chttp2_list_pop_writing_stream(transport_writing, &stream_writing)) { @@ -212,7 +212,7 @@ static void finalize_outbuf(grpc_chttp2_transport_writing *transport_writing) { grpc_chttp2_list_add_written_stream(transport_writing, stream_writing); } - GRPC_TIMER_END("finalize_outbuf", 0); + GPR_TIMER_END("finalize_outbuf", 0); } void grpc_chttp2_cleanup_writing( -- cgit v1.2.3