aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/iomgr/exec_ctx.c
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-10-09 16:57:11 -0700
committerGravatar Craig Tiller <ctiller@google.com>2015-10-09 16:57:11 -0700
commit0ba432d445b6415e04b8b9f20cb093b0a22a4361 (patch)
treebc67feed0d9c36405b6c7122c28e2a3f8213582b /src/core/iomgr/exec_ctx.c
parent44011e8ab3acd37677478b471dbb35877fadeaa1 (diff)
Move profiling system to gpr
Diffstat (limited to 'src/core/iomgr/exec_ctx.c')
-rw-r--r--src/core/iomgr/exec_ctx.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/iomgr/exec_ctx.c b/src/core/iomgr/exec_ctx.c
index 1ad39885e4..410b34c521 100644
--- a/src/core/iomgr/exec_ctx.c
+++ b/src/core/iomgr/exec_ctx.c
@@ -39,20 +39,20 @@
int grpc_exec_ctx_flush(grpc_exec_ctx *exec_ctx) {
int did_something = 0;
- GRPC_TIMER_BEGIN("grpc_exec_ctx_flush", 0);
+ GPR_TIMER_BEGIN("grpc_exec_ctx_flush", 0);
while (!grpc_closure_list_empty(exec_ctx->closure_list)) {
grpc_closure *c = exec_ctx->closure_list.head;
exec_ctx->closure_list.head = exec_ctx->closure_list.tail = NULL;
while (c != NULL) {
grpc_closure *next = c->next;
did_something++;
- GRPC_TIMER_BEGIN("grpc_exec_ctx_flush.cb", 0);
+ GPR_TIMER_BEGIN("grpc_exec_ctx_flush.cb", 0);
c->cb(exec_ctx, c->cb_arg, c->success);
- GRPC_TIMER_END("grpc_exec_ctx_flush.cb", 0);
+ GPR_TIMER_END("grpc_exec_ctx_flush.cb", 0);
c = next;
}
}
- GRPC_TIMER_END("grpc_exec_ctx_flush", 0);
+ GPR_TIMER_END("grpc_exec_ctx_flush", 0);
return did_something;
}