| Index: src/counters.h
|
| diff --git a/src/counters.h b/src/counters.h
|
| index 540bcbdadbf48999400879c74d3f1746cc9945db..93079b1ef9bdc2b287421519ea7d25e2b899ff0b 100644
|
| --- a/src/counters.h
|
| +++ b/src/counters.h
|
| @@ -143,6 +143,9 @@ class StatsCounter {
|
| return loc;
|
| }
|
|
|
| + // Reset the cached internal pointer.
|
| + void Reset() { lookup_done_ = false; }
|
| +
|
| protected:
|
| // Returns the cached address of this counter location.
|
| int* GetPtr() {
|
| @@ -629,6 +632,7 @@ class Counters {
|
| stats_counter_count
|
| };
|
|
|
| + void ResetCounters();
|
| void ResetHistograms();
|
|
|
| private:
|
|
|