Merge "Clean up how metrics were disabled"

This commit is contained in:
TreeHugger Robot
2017-03-07 03:55:47 +00:00
committed by Android (Google) Code Review

View File

@@ -40,13 +40,6 @@ class MetricsFrontEnd {
#define NO_TIME 0
#if 0 // Disable metrics for now to work around P0:b/35093325
#define M_RECORD(GROUP, METRIC, TIME, ...)
#define M_TIME(CALL, GROUP, METRIC, ...)
#else // Re-enable when we have time to debug
#define M_RECORD(GROUP, METRIC, TIME, ...) \
if ( GROUP ) { \
( GROUP ) -> METRIC . Record( TIME, ##__VA_ARGS__ ); \
@@ -61,6 +54,5 @@ class MetricsFrontEnd {
} else { \
CALL; \
}
#endif // Disable
#endif