Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for cumulative (0.05 sec)

  1. cmd/metrics-resource.go

    	Name   MetricName
    	Labels map[string]string
    
    	// value captured in current cycle
    	Current float64
    
    	// Used when system provides cumulative (since uptime) values
    	// helps in calculating the current value by comparing the new
    	// cumulative value with previous one
    	Cumulative float64
    
    	Max   float64
    	Avg   float64
    	Sum   float64
    	Count uint64
    }
    
    func init() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 23:30:33 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  2. cmd/bucket-replication-metrics.go

    }
    
    // SMA struct for calculating simple moving average
    type SMA struct {
    	buf       []float64
    	window    int     // len of buf
    	idx       int     // current index in buf
    	CAvg      float64 // cumulative average
    	prevSMA   float64
    	filledBuf bool
    }
    
    func newSMA(ln int) *SMA {
    	if ln <= 0 {
    		ln = defaultWindowSize
    	}
    	return &SMA{
    		buf:    make([]float64, ln),
    		window: ln,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  3. cmd/data-scanner.go

    				"x-minio-versions": strconv.Itoa(len(objInfos)),
    			},
    		})
    	}
    
    	cumulativeSize := int64(0)
    	for _, objInfo := range objInfos {
    		cumulativeSize += objInfo.Size
    	}
    	// Check if the cumulative size of all versions of this object is high.
    	if cumulativeSize >= scannerExcessObjectVersionsTotalSize.Load() {
    		// Notify object accessed via a GET request.
    		sendEvent(eventArgs{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
Back to top