diff options
Diffstat (limited to 'base/metrics/stats_counters.h')
-rw-r--r-- | base/metrics/stats_counters.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/base/metrics/stats_counters.h b/base/metrics/stats_counters.h index 2de2b73..4a93a41 100644 --- a/base/metrics/stats_counters.h +++ b/base/metrics/stats_counters.h @@ -46,14 +46,14 @@ namespace base { //------------------------------------------------------------------------------ // First provide generic macros, which exist in production as well as debug. #define STATS_COUNTER(name, delta) do { \ - static base::StatsCounter counter(name); \ + base::StatsCounter counter(name); \ counter.Add(delta); \ } while (0) #define SIMPLE_STATS_COUNTER(name) STATS_COUNTER(name, 1) #define RATE_COUNTER(name, duration) do { \ - static base::StatsRate hit_count(name); \ + base::StatsRate hit_count(name); \ hit_count.AddTime(duration); \ } while (0) |