- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for calcAvg (0.11 sec)
-
cmd/bucket-replication-metrics.go
curr := calcAvg(rx.curr(), o.curr(), rx.N, o.N) peak := rx.Peak if o.Peak > peak { peak = o.Peak } if curr > peak { peak = curr } return XferStats{ Avg: calcAvg(rx.Avg, o.Avg, rx.N, o.N), Peak: peak, Curr: curr, measure: rx.measure, N: rx.N + o.N, } } func calcAvg(x, y float64, n1, n2 int64) float64 { if n1+n2 == 0 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 15 12:04:40 UTC 2024 - 14.2K bytes - Viewed (0)