File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ constexpr bool isDuration<std::chrono::duration<Rep, Period>> = true;
1414
1515template <typename Duration> class SimpleTimerContext ;
1616
17- // Simple replacement for medida timer that uses an accumulator and counter,
17+ // Simple replacement for medida timer that uses an accumulator and counter
1818// while keeping track of the maximums. Names are based on the constructor with
1919// a suffix of `sum`, `count`, or `max`. Timers can be expensive, so this class
2020// replaces them with a subset of the functionality using Counters internally.
@@ -26,7 +26,7 @@ template <typename Duration> class SimpleTimer
2626 medida::Counter& mSum ;
2727 medida::Counter& mCount ;
2828 // Note that we use a counter for `mMax` so it gets displayed in the
29- // metrics, but this is only synced on `syncMetrics ()` to avoid races.
29+ // metrics, but this is only synced on `syncMax ()` to avoid races.
3030 medida::Counter& mMaxCounter ;
3131 std::mutex mMaxLock ;
3232 std::int64_t mMax ;
You can’t perform that action at this time.
0 commit comments