Skip to content
Snippets Groups Projects
Commit bcdf9e8d authored by Muxi Yan's avatar Muxi Yan Committed by GitHub
Browse files

Merge pull request #10739 from muxi/fix-unpaired-benchmark

Fix pairing of GRPC_TIMER_BEGIN/END in grpc_byte_stream_next
parents 16309e39 93b11202
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment