aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/surface
diff options
context:
space:
mode:
authorGravatar Craig Tiller <craig.tiller@gmail.com>2015-04-14 21:39:19 -0700
committerGravatar Craig Tiller <craig.tiller@gmail.com>2015-04-14 21:39:19 -0700
commitad36c54852686bdcfbe2632281fed8ee53f74e04 (patch)
treeb4ef141ab490630d9fbd582f71d983ebf01f817e /src/core/surface
parent634346b0a53913de3f89a3228fcc1628a5c1d158 (diff)
parentc547dcb547b4f6db558244edbe5b1c9d7001b717 (diff)
Merge github.com:google/grpc into fast-unref
Diffstat (limited to 'src/core/surface')
-rw-r--r--src/core/surface/init.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/core/surface/init.c b/src/core/surface/init.c
index d4f0eb40e8..4de51a666f 100644
--- a/src/core/surface/init.c
+++ b/src/core/surface/init.c
@@ -32,10 +32,11 @@
*/
#include <grpc/grpc.h>
-#include "src/core/iomgr/iomgr.h"
+#include "src/core/channel/channel_stack.h"
#include "src/core/debug/trace.h"
+#include "src/core/iomgr/iomgr.h"
#include "src/core/statistics/census_interface.h"
-#include "src/core/channel/channel_stack.h"
+#include "src/core/profiling/timers.h"
#include "src/core/surface/call.h"
#include "src/core/surface/init.h"
#include "src/core/surface/surface_trace.h"
@@ -63,6 +64,7 @@ void grpc_init(void) {
grpc_tracer_init("GRPC_TRACE");
grpc_iomgr_init();
census_init();
+ grpc_timers_log_global_init();
}
gpr_mu_unlock(&g_init_mu);
}
@@ -72,6 +74,7 @@ void grpc_shutdown(void) {
if (--g_initializations == 0) {
grpc_iomgr_shutdown();
census_shutdown();
+ grpc_timers_log_global_destroy();
}
gpr_mu_unlock(&g_init_mu);
}