- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for CurrentStats (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
cmd/metrics-v3-cache.go
loadHealth, ) } func getDiffStats(initialStats, currentStats madmin.DiskIOStats) madmin.DiskIOStats { return madmin.DiskIOStats{ ReadIOs: currentStats.ReadIOs - initialStats.ReadIOs, WriteIOs: currentStats.WriteIOs - initialStats.WriteIOs, ReadSectors: currentStats.ReadSectors - initialStats.ReadSectors, WriteSectors: currentStats.WriteSectors - initialStats.WriteSectors,
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 8.1K bytes - Click Count (0) -
internal/logger/targets.go
} // AuditTargets returns active audit targets. // Returned slice may not be modified in any way. func AuditTargets() []Target { return auditTargets.get() } // CurrentStats returns the current statistics. func CurrentStats() map[string]types.TargetStats { sys := SystemTargets() audit := AuditTargets() res := make(map[string]types.TargetStats, len(sys)+len(audit)) cnt := make(map[string]int, len(sys)+len(audit))
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 6K bytes - Click Count (0) -
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)