Rollback changes to timer.h

reviewable/pr8008/r7
Craig Tiller 9 years ago
parent f3d521814a
commit 0786490eb4
  1. 5
      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... */

Loading…
Cancel
Save