Merge pull request #12981 from ctiller/combiner_stuff

Add combiner initiates to latency trace
pull/12984/head
Nicolas Noble 7 years ago committed by GitHub
commit 247c81b1bd
  1. 1
      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)); lock, cl, last));
if (last == 1) { if (last == 1) {
GRPC_STATS_INC_COMBINER_LOCKS_INITIATED(exec_ctx); 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_no_barrier_store(&lock->initiating_exec_ctx_or_null,
(gpr_atm)exec_ctx); (gpr_atm)exec_ctx);
// first element on this list: add it to the list of combiner locks // first element on this list: add it to the list of combiner locks

Loading…
Cancel
Save