- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for GetAvgData (0.15 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 Oct 27 19:28:09 UTC 2024 - Last Modified: Wed Jul 05 17:40:45 UTC 2023 - 4.8K bytes - Viewed (0)