- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for sizeTagToString (1.72 sec)
-
cmd/last-minute.go
return sizeLessThan10MiB case size < 100*1024*1024: return sizeLessThan100MiB case size < 1024*1024*1024: return sizeLessThan1GiB default: return sizeGreaterThan1GiB } } func sizeTagToString(tag int) string { switch tag { case sizeLessThan1KiB: return "LESS_THAN_1_KiB" case sizeLessThan1MiB: return "LESS_THAN_1_MiB" case sizeLessThan10MiB: return "LESS_THAN_10_MiB"
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jul 05 17:40:45 UTC 2023 - 4.8K bytes - Viewed (0) -
cmd/bucket-stats.go
func (rl ReplicationLatency) getUploadLatency() (ret map[string]uint64) { ret = make(map[string]uint64) avg := rl.UploadHistogram.GetAvgData() for k, v := range avg { // Convert nanoseconds to milliseconds ret[sizeTagToString(k)] = uint64(v.avg() / time.Millisecond) } return } // Update replication upload latency with a new value func (rl *ReplicationLatency) update(size int64, duration time.Duration) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 12 11:39:51 UTC 2024 - 13.4K bytes - Viewed (0)