diff options
Diffstat (limited to 'base/metrics/histogram_macros.h')
-rw-r--r-- | base/metrics/histogram_macros.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/base/metrics/histogram_macros.h b/base/metrics/histogram_macros.h index 2aee1a5de4..0492f0c913 100644 --- a/base/metrics/histogram_macros.h +++ b/base/metrics/histogram_macros.h @@ -6,7 +6,6 @@ #define BASE_METRICS_HISTOGRAM_MACROS_H_ #include "base/atomicops.h" -#include "base/basictypes.h" #include "base/logging.h" #include "base/metrics/histogram.h" #include "base/time/time.h" @@ -189,6 +188,9 @@ #define UMA_HISTOGRAM_COUNTS_100(name, sample) UMA_HISTOGRAM_CUSTOM_COUNTS( \ name, sample, 1, 100, 50) +#define UMA_HISTOGRAM_COUNTS_1000(name, sample) UMA_HISTOGRAM_CUSTOM_COUNTS( \ + name, sample, 1, 1000, 50) + #define UMA_HISTOGRAM_COUNTS_10000(name, sample) UMA_HISTOGRAM_CUSTOM_COUNTS( \ name, sample, 1, 10000, 50) @@ -203,6 +205,9 @@ #define UMA_HISTOGRAM_MEMORY_MB(name, sample) UMA_HISTOGRAM_CUSTOM_COUNTS( \ name, sample, 1, 1000, 50) +#define UMA_HISTOGRAM_MEMORY_LARGE_MB(name, sample) \ + UMA_HISTOGRAM_CUSTOM_COUNTS(name, sample, 1, 64000, 100) + #define UMA_HISTOGRAM_PERCENTAGE(name, under_one_hundred) \ UMA_HISTOGRAM_ENUMERATION(name, under_one_hundred, 101) |