Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for CurrentStats (0.27 seconds)

  1. cmd/metrics-resource.go

    func updateDriveIOStats(currentStats madmin.DiskIOStats, latestStats madmin.DiskIOStats, labels map[string]string) {
    	sectorSize := uint64(512)
    	kib := float64(1 << 10)
    	diffInSeconds := time.Now().UTC().Sub(lastDriveStatsRefresh).Seconds()
    	if diffInSeconds == 0 {
    		// too soon to update the stats
    		return
    	}
    	diffStats := getDiffStats(latestStats, currentStats)
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 17.2K bytes
    - Click Count (0)
Back to Top