Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(31)

Unified Diff: webrtc/system_wrappers/include/metrics.h

Issue 1766313002: Remove sparse macros (RTC_HISTOGRAM_*_SPARSE_*) that are no longer used. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/system_wrappers/include/metrics.h
diff --git a/webrtc/system_wrappers/include/metrics.h b/webrtc/system_wrappers/include/metrics.h
index a7184a5ae3f4359bf70daeeef35769cffaa1b6ed..b0a77c8711a7c33b247f91f7c3750697b108af75 100644
--- a/webrtc/system_wrappers/include/metrics.h
+++ b/webrtc/system_wrappers/include/metrics.h
@@ -86,18 +86,6 @@
#define RTC_HISTOGRAM_COUNTS_SPARSE_100(name, sample) \
RTC_HISTOGRAM_COUNTS_SPARSE(name, sample, 1, 100, 50)
-#define RTC_HISTOGRAM_COUNTS_SPARSE_200(name, sample) \
- RTC_HISTOGRAM_COUNTS_SPARSE(name, sample, 1, 200, 50)
-
-#define RTC_HISTOGRAM_COUNTS_SPARSE_1000(name, sample) \
- RTC_HISTOGRAM_COUNTS_SPARSE(name, sample, 1, 1000, 50)
-
-#define RTC_HISTOGRAM_COUNTS_SPARSE_10000(name, sample) \
- RTC_HISTOGRAM_COUNTS_SPARSE(name, sample, 1, 10000, 50)
-
-#define RTC_HISTOGRAM_COUNTS_SPARSE_100000(name, sample) \
- RTC_HISTOGRAM_COUNTS_SPARSE(name, sample, 1, 100000, 50)
-
#define RTC_HISTOGRAM_COUNTS_SPARSE(name, sample, min, max, bucket_count) \
RTC_HISTOGRAM_COMMON_BLOCK_SLOW(name, sample, \
webrtc::metrics::HistogramFactoryGetCounts(name, min, max, bucket_count))
@@ -106,23 +94,12 @@
#define RTC_HISTOGRAM_PERCENTAGE(name, sample) \
RTC_HISTOGRAM_ENUMERATION(name, sample, 101)
-// Deprecated.
-// TODO(asapersson): Remove.
-#define RTC_HISTOGRAM_PERCENTAGE_SPARSE(name, sample) \
- RTC_HISTOGRAM_ENUMERATION_SPARSE(name, sample, 101)
-
// Histogram for enumerators (evenly spaced buckets).
// |boundary| should be above the max enumerator sample.
#define RTC_HISTOGRAM_ENUMERATION(name, sample, boundary) \
RTC_HISTOGRAM_COMMON_BLOCK(name, sample, \
webrtc::metrics::HistogramFactoryGetEnumeration(name, boundary))
-// Deprecated.
-// TODO(asapersson): Remove.
-#define RTC_HISTOGRAM_ENUMERATION_SPARSE(name, sample, boundary) \
- RTC_HISTOGRAM_COMMON_BLOCK_SLOW(name, sample, \
- webrtc::metrics::HistogramFactoryGetEnumeration(name, boundary))
-
// The name of the histogram should not vary.
// TODO(asapersson): Consider changing string to const char*.
#define RTC_HISTOGRAM_COMMON_BLOCK(constant_name, sample, \
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698