Skip to content
Snippets Groups Projects
Commit 0786490e authored by Craig Tiller's avatar Craig Tiller
Browse files

Rollback changes to timer.h

parent f3d52181
No related branches found
No related tags found
No related merge requests found
...@@ -34,8 +34,6 @@ ...@@ -34,8 +34,6 @@
#ifndef GRPC_CORE_LIB_PROFILING_TIMERS_H #ifndef GRPC_CORE_LIB_PROFILING_TIMERS_H
#define GRPC_CORE_LIB_PROFILING_TIMERS_H #define GRPC_CORE_LIB_PROFILING_TIMERS_H
#include <stdio.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
...@@ -58,17 +56,14 @@ void gpr_timer_set_enabled(int enabled); ...@@ -58,17 +56,14 @@ void gpr_timer_set_enabled(int enabled);
/* No profiling. No-op all the things. */ /* No profiling. No-op all the things. */
#define GPR_TIMER_MARK(tag, important) \ #define GPR_TIMER_MARK(tag, important) \
do { \ do { \
/*printf("- %s\n", tag);*/ \
} while (0) } while (0)
#define GPR_TIMER_BEGIN(tag, important) \ #define GPR_TIMER_BEGIN(tag, important) \
do { \ do { \
/*printf("%s {\n", tag);*/ \
} while (0) } while (0)
#define GPR_TIMER_END(tag, important) \ #define GPR_TIMER_END(tag, important) \
do { \ do { \
/*printf("} // %s\n", tag);*/ \
} while (0) } while (0)
#else /* at least one profiler requested... */ #else /* at least one profiler requested... */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment