StandardTimer is the standard implementation of a Timer and uses a Histogram and Meter.
| 137 | // StandardTimer is the standard implementation of a Timer and uses a Histogram |
| 138 | // and Meter. |
| 139 | type StandardTimer struct { |
| 140 | histogram Histogram |
| 141 | meter Meter |
| 142 | mutex sync.Mutex |
| 143 | } |
| 144 | |
| 145 | // Count returns the number of events recorded. |
| 146 | func (t *StandardTimer) Count() int64 { |
nothing calls this directly
no outgoing calls
no test coverage detected