diff options
author | Craig Tiller <ctiller@google.com> | 2015-10-09 16:16:04 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2015-10-09 16:16:04 -0700 |
commit | ce1f19e531119d1f2f1294bcf32c5e93ef615f74 (patch) | |
tree | b2890efcb71a7c85322e442e82709d4b485b3659 /src/core/surface | |
parent | 1f41b6b5eda983052b31f60dcbe24b8021bc2fc2 (diff) |
More markup
Diffstat (limited to 'src/core/surface')
-rw-r--r-- | src/core/surface/completion_queue.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/surface/completion_queue.c b/src/core/surface/completion_queue.c index 695dfbd83b..7c0183257c 100644 --- a/src/core/surface/completion_queue.c +++ b/src/core/surface/completion_queue.c @@ -144,6 +144,8 @@ void grpc_cq_end_op(grpc_exec_ctx *exec_ctx, grpc_completion_queue *cc, int i; grpc_pollset_worker *pluck_worker; + GRPC_TIMER_BEGIN("grpc_cq_end_op", 0); + storage->tag = tag; storage->done = done; storage->done_arg = done_arg; @@ -175,6 +177,8 @@ void grpc_cq_end_op(grpc_exec_ctx *exec_ctx, grpc_completion_queue *cc, gpr_mu_unlock(GRPC_POLLSET_MU(&cc->pollset)); grpc_pollset_shutdown(exec_ctx, &cc->pollset, &cc->pollset_destroy_done); } + + GRPC_TIMER_END("grpc_cq_end_op", 0); } grpc_event grpc_completion_queue_next(grpc_completion_queue *cc, |