Chromium Code Reviews| Index: base/metrics/histogram_macros.h |
| diff --git a/base/metrics/histogram_macros.h b/base/metrics/histogram_macros.h |
| index 0ee7d2ca1a7880bf6924c96b9353375a1d0e91dd..9e3caec3a349b2585eb1d82aea4f3b8e213f76da 100644 |
| --- a/base/metrics/histogram_macros.h |
| +++ b/base/metrics/histogram_macros.h |
| @@ -67,8 +67,8 @@ |
| // Sample usage: |
| // UMA_HISTOGRAM_EXACT_LINEAR("Histogram.Linear", count, 10); |
| -#define UMA_HISTOGRAM_EXACT_LINEAR(name, sample, value_max) \ |
| - UMA_HISTOGRAM_ENUMERATION(name, sample, value_max+1) |
| +#define UMA_HISTOGRAM_EXACT_LINEAR(name, sample, value_max) \ |
| + UMA_HISTOGRAM_ENUMERATION(name, sample, value_max) |
|
wychen
2016/11/14 23:56:11
Ah. I was confused why we have to +1 twice.
|
| // Used for capturing basic percentages. This will be 100 buckets of size 1. |