Merge "Clean up how metrics were disabled"
This commit is contained in:
committed by
Android (Google) Code Review
commit
1322df2d28
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user