aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Nicolas Noble <nicolasnoble@users.noreply.github.com>2017-10-12 10:09:52 -0700
committerGravatar GitHub <noreply@github.com>2017-10-12 10:09:52 -0700
commit247c81b1bd0f4088fe9715fd3f1b3855a3e5b3fc (patch)
tree65a3e27b9130eb1c729454faefab60d416fc8f5c
parent313db433f263061db7083d058ef3e3cef03dc3dd (diff)
parent2638cd9ff5e9f99a436f4369db46c904fae78d43 (diff)
Merge pull request #12981 from ctiller/combiner_stuff
Add combiner initiates to latency trace
-rw-r--r--src/core/lib/iomgr/combiner.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/lib/iomgr/combiner.cc b/src/core/lib/iomgr/combiner.cc
index 0e707ef839..53f4b7eaa7 100644
--- a/src/core/lib/iomgr/combiner.cc
+++ b/src/core/lib/iomgr/combiner.cc
@@ -165,6 +165,7 @@ static void combiner_exec(grpc_exec_ctx *exec_ctx, grpc_closure *cl,
lock, cl, last));
if (last == 1) {
GRPC_STATS_INC_COMBINER_LOCKS_INITIATED(exec_ctx);
+ GPR_TIMER_MARK("combiner.initiated", 0);
gpr_atm_no_barrier_store(&lock->initiating_exec_ctx_or_null,
(gpr_atm)exec_ctx);
// first element on this list: add it to the list of combiner locks