aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/profiling
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-09-21 10:40:45 -0700
committerGravatar Craig Tiller <ctiller@google.com>2016-09-21 10:40:45 -0700
commit0786490eb4378876ea2b4e7b3500bcf9d1781abe (patch)
tree0e647f780a74d8b43ac743a5abf93eff0349c3b3 /src/core/lib/profiling
parentf3d521814ac227ae4cf848b136ea36db423cae7a (diff)
Rollback changes to timer.h
Diffstat (limited to 'src/core/lib/profiling')
-rw-r--r--src/core/lib/profiling/timers.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/core/lib/profiling/timers.h b/src/core/lib/profiling/timers.h
index ea0cbca977..621cdbf656 100644
--- a/src/core/lib/profiling/timers.h
+++ b/src/core/lib/profiling/timers.h
@@ -34,8 +34,6 @@
#ifndef GRPC_CORE_LIB_PROFILING_TIMERS_H
#define GRPC_CORE_LIB_PROFILING_TIMERS_H
-#include <stdio.h>
-
#ifdef __cplusplus
extern "C" {
#endif
@@ -58,17 +56,14 @@ void gpr_timer_set_enabled(int enabled);
/* No profiling. No-op all the things. */
#define GPR_TIMER_MARK(tag, important) \
do { \
- /*printf("- %s\n", tag);*/ \
} while (0)
#define GPR_TIMER_BEGIN(tag, important) \
do { \
- /*printf("%s {\n", tag);*/ \
} while (0)
#define GPR_TIMER_END(tag, important) \
do { \
- /*printf("} // %s\n", tag);*/ \
} while (0)
#else /* at least one profiler requested... */