Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for peakRate (0.04 sec)

  1. cmd/bucket-replication-metrics.go

    }
    
    // XferStats has transfer stats for replication
    type XferStats struct {
    	Curr    float64          `json:"currRate" msg:"cr"`
    	Avg     float64          `json:"avgRate" msg:"av"`
    	Peak    float64          `json:"peakRate" msg:"p"`
    	N       int64            `json:"n" msg:"n"`
    	measure *rateMeasurement `json:"-"`
    	sma     *SMA             `json:"-"`
    }
    
    // Clone returns a copy of XferStats
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  2. cmd/site-replication.go

    				x2, ok := v2.XferStats[replication.MetricName(rm)]
    				if !ok {
    					x2 = replication.XferStats{}
    				}
    				x2.AvgRate += x.Avg
    				x2.CurrRate += x.Curr
    				if x.Peak > x2.PeakRate {
    					x2.PeakRate = x.Peak
    				}
    				v2.XferStats[replication.MetricName(rm)] = x2
    			}
    			sm.Metrics[dID] = v2
    		}
    	}
    	sm.Uptime = UTCNow().Unix() - globalBootTime.Unix()
    	return sm, nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
Back to top