Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getExpMovingAvgBytesPerSecond (0.19 sec)

  1. cmd/bucket-replication-metrics.go

    func exponentialMovingAverage(beta, previousAvg, incrementAvg float64) float64 {
    	return (1-beta)*incrementAvg + beta*previousAvg
    }
    
    // getExpMovingAvgBytesPerSecond returns the exponential moving average for the bucket/target in bytes
    func (m *rateMeasurement) getExpMovingAvgBytesPerSecond() float64 {
    	m.lock.Lock()
    	defer m.lock.Unlock()
    	return m.expMovingAvg
    }
    
    // ActiveWorkerStat is stat for active replication workers
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 14.2K bytes
    - Viewed (0)
Back to top