MeterSnapshot is a read-only copy of another Meter.
| 101 | |
| 102 | // MeterSnapshot is a read-only copy of another Meter. |
| 103 | type MeterSnapshot struct { |
| 104 | temp atomic.Int64 |
| 105 | count int64 |
| 106 | rate1, rate5, rate15, rateMean float64 |
| 107 | } |
| 108 | |
| 109 | // Count returns the count of events at the time the snapshot was taken. |
| 110 | func (m *MeterSnapshot) Count() int64 { return m.count } |
nothing calls this directly
no outgoing calls
no test coverage detected