aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/ext
diff options
context:
space:
mode:
authorGravatar Muxi Yan <muxi@users.noreply.github.com>2017-04-20 16:05:43 -0700
committerGravatar GitHub <noreply@github.com>2017-04-20 16:05:43 -0700
commitbcdf9e8d899bf5018978c4f3635c51df3f0c7d09 (patch)
tree1bf81169f45ba11d6e67f16609ed657f99e2b98d /src/core/ext
parent16309e396a7360b59fda1571bd65eb169e4e8748 (diff)
parent93b112021665e0e4776fe8f6ae0c12f39d373ee8 (diff)
Merge pull request #10739 from muxi/fix-unpaired-benchmark
Fix pairing of GRPC_TIMER_BEGIN/END in grpc_byte_stream_next
Diffstat (limited to 'src/core/ext')
-rw-r--r--src/core/ext/transport/chttp2/transport/chttp2_transport.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/ext/transport/chttp2/transport/chttp2_transport.c b/src/core/ext/transport/chttp2/transport/chttp2_transport.c
index a4cee39104..5d74532ede 100644
--- a/src/core/ext/transport/chttp2/transport/chttp2_transport.c
+++ b/src/core/ext/transport/chttp2/transport/chttp2_transport.c
@@ -2603,6 +2603,7 @@ static bool incoming_byte_stream_next(grpc_exec_ctx *exec_ctx,
(grpc_chttp2_incoming_byte_stream *)byte_stream;
grpc_chttp2_stream *s = bs->stream;
if (s->unprocessed_incoming_frames_buffer.length > 0) {
+ GPR_TIMER_END("incoming_byte_stream_next", 0);
return true;
} else {
gpr_ref(&bs->refs);