- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for GetAvgData (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
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() }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Jul 05 17:40:45 GMT 2023 - 4.8K bytes - Click Count (0)