- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for GetAvgData (0.08 sec)
-
cmd/last-minute.go
func (l *LastMinuteHistogram) Add(size int64, t time.Duration) { l[sizeToTag(size)].add(t) } // GetAvgData will return the average for each bucket from the last time minute. // The number of objects is also included. func (l *LastMinuteHistogram) GetAvgData() [sizeLastElemMarker]AccElem { var res [sizeLastElemMarker]AccElem for i, elem := range l[:] { res[i] = elem.getTotal() }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jul 05 17:40:45 UTC 2023 - 4.8K bytes - Viewed (0)