From f39c0026186e838b9b60f4c03782febf3fe9aa1a Mon Sep 17 00:00:00 2001 From: Jeff Tinker Date: Thu, 16 Feb 2017 18:04:27 -0800 Subject: [PATCH] Clean up how metrics were disabled Initially both metrics collection and publishing were going to be disabled to work around P0:b/35093325. But disabling collection was not completed since it proved to be unnecessary. However, remnants were left in the header file. This change just cleans up the remnants. Change-Id: Ibdceafd2add31c93de995a558a675b8ba8a055bc related-to-bug:35093325 --- libwvdrmengine/cdm/metrics/include/metrics_front_end.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/libwvdrmengine/cdm/metrics/include/metrics_front_end.h b/libwvdrmengine/cdm/metrics/include/metrics_front_end.h index 79b97deb..3375a983 100644 --- a/libwvdrmengine/cdm/metrics/include/metrics_front_end.h +++ b/libwvdrmengine/cdm/metrics/include/metrics_front_end.h @@ -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