Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getDiffStats (0.09 sec)

  1. cmd/metrics-v3-cache.go

    		}
    
    		r = objLayer.Health(GlobalContext, HealthOptions{})
    		return
    	}
    	return cachevalue.NewFromFunc(1*time.Minute,
    		cachevalue.Opts{ReturnLastGood: true},
    		loadHealth,
    	)
    }
    
    func getDiffStats(initialStats, currentStats madmin.DiskIOStats) madmin.DiskIOStats {
    	return madmin.DiskIOStats{
    		ReadIOs:      currentStats.ReadIOs - initialStats.ReadIOs,
    		WriteIOs:     currentStats.WriteIOs - initialStats.WriteIOs,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 09 00:51:34 UTC 2024
    - 8.1K bytes
    - Viewed (0)
Back to top