Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for prevDriveIOStats (0.21 sec)

  1. cmd/metrics-v3-cache.go

    		prevDriveIOStatsMu.Lock()
    		if prevDriveIOStats != nil {
    			duration := now.Sub(prevDriveIOStatsRefreshedAt)
    			if duration.Seconds() > 1 {
    				for d, cs := range currentStats {
    					if ps, found := prevDriveIOStats[d]; found {
    						v.ioStats[d] = getDriveIOStatMetrics(getDiffStats(ps, cs), duration)
    					}
    				}
    			}
    		}
    
    		prevDriveIOStats = currentStats
    		prevDriveIOStatsRefreshedAt = now
    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