- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 61 for FLOAT64 (0.1 sec)
-
internal/bucket/bandwidth/reader.go
r.opts.HeaderSize = 0 need = int(math.Min(float64(b-hdr), float64(need))) // use remaining tokens towards payload tokens = need + hdr } else { // part of header can be accommodated r.opts.HeaderSize -= b - 1 need = 1 // to ensure we read at least one byte for every Read tokens = b } } else { // all tokens go towards payload need = int(math.Min(float64(b), float64(need))) tokens = need }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 12 14:57:31 UTC 2024 - 3.2K bytes - Viewed (0) -
cmd/metrics-v3-scanner.go
m.Set(scannerBucketScansFinished, float64(globalScannerMetrics.lifetime(scannerMetricScanBucketDrive))) m.Set(scannerBucketScansStarted, float64(globalScannerMetrics.lifetime(scannerMetricScanBucketDrive)+uint64(globalScannerMetrics.activeDrives()))) m.Set(scannerDirectoriesScanned, float64(globalScannerMetrics.lifetime(scannerMetricScanFolder))) m.Set(scannerObjectsScanned, float64(globalScannerMetrics.lifetime(scannerMetricScanObject)))
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 19:29:25 UTC 2024 - 2.8K bytes - Viewed (0) -
cmd/bucket-stats.go
} if count > 0 { lrg := XferStats{ Avg: lavg / float64(count), Curr: lcurr / float64(count), Peak: lpeak, } sml := XferStats{ Avg: savg / float64(count), Curr: scurr / float64(count), Peak: speak, } qs.XferStats[Large] = lrg qs.XferStats[Small] = sml qs.XferStats[Total] = XferStats{ Avg: (savg + lavg) / float64(count), Curr: (lcurr + scurr) / float64(count),
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 12 11:39:51 UTC 2024 - 13.4K bytes - Viewed (0) -
cmd/metrics.go
Buckets: []float64{.05, .1, .25, .5, 1, 2.5, 5, 10}, }, []string{"api"}, ) bucketHTTPRequestsDuration = prometheus.NewHistogramVec( prometheus.HistogramOpts{ Name: "s3_ttfb_seconds", Help: "Time taken by requests served by current MinIO server instance per bucket", Buckets: []float64{.05, .1, .25, .5, 1, 2.5, 5, 10}, }, []string{"api", "bucket"}, )
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 15 12:04:40 UTC 2024 - 16.6K bytes - Viewed (0) -
cmd/metrics-v3-bucket-replication.go
m.Set(bucketReplProxiedHeadRequestsTotal, float64(s.ProxyStats.HeadTotal), labels...) m.Set(bucketReplProxiedPutTaggingRequestsFailures, float64(s.ProxyStats.PutTagFailedTotal), labels...) m.Set(bucketReplProxiedPutTaggingRequestsTotal, float64(s.ProxyStats.PutTagTotal), labels...) m.Set(bucketReplSentCount, float64(stat.ReplicatedCount), labels...)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 15 12:04:40 UTC 2024 - 8.1K bytes - Viewed (0) -
cmd/metrics-v2.go
if globalExpiryState != nil { expPendingTasks.Value = float64(globalExpiryState.PendingTasks()) expMissedTasks.Value = float64(globalExpiryState.stats.MissedTasks()) expMissedFreeVersions.Value = float64(globalExpiryState.stats.MissedFreeVersTasks()) expMissedTierJournalTasks.Value = float64(globalExpiryState.stats.MissedTierJournalTasks()) expNumWorkers.Value = float64(globalExpiryState.stats.NumWorkers()) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 15 12:04:40 UTC 2024 - 131.9K bytes - Viewed (0) -
cmd/bucket-replication-metrics.go
Peak: peak, Curr: curr, measure: rx.measure, N: rx.N + o.N, } } func calcAvg(x, y float64, n1, n2 int64) float64 { if n1+n2 == 0 { return 0 } avg := (x*float64(n1) + y*float64(n2)) / float64(n1+n2) return avg } // Add a new transfer func (rx *XferStats) addSize(sz int64, t time.Duration) { if rx.measure == nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 15 12:04:40 UTC 2024 - 14.2K bytes - Viewed (0) -
cmd/metrics-resource.go
Labels map[string]string // value captured in current cycle Current float64 // Used when system provides cumulative (since uptime) values // helps in calculating the current value by comparing the new // cumulative value with previous one Cumulative float64 Max float64 Avg float64 Sum float64 Count uint64 } func init() {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jul 24 23:30:33 UTC 2024 - 17.2K bytes - Viewed (0) -
cmd/metrics-v3-cluster-usage.go
m.Set(usageTotalBytes, float64(clusterSize)) m.Set(usageObjectsCount, float64(clusterObjectsCount)) m.Set(usageVersionsCount, float64(clusterVersionsCount)) m.Set(usageDeleteMarkersCount, float64(clusterDeleteMarkersCount)) m.Set(usageBucketsCount, float64(clusterBuckets)) for k, v := range clusterObjectSizesHistogram { m.Set(usageSizeDistribution, float64(v), "range", k) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Jul 14 18:11:42 UTC 2024 - 6.5K bytes - Viewed (0) -
cmd/metrics-v3-system-process.go
m.Set(processStartTimeSeconds, float64(startTime)) } } func loadProcIOMetrics(ctx context.Context, io procfs.ProcIO, m MetricValues) { if io.RChar > 0 { m.Set(processIORCharBytes, float64(io.RChar)) } if io.ReadBytes > 0 { m.Set(processIOReadBytes, float64(io.ReadBytes)) } if io.WChar > 0 { m.Set(processIOWCharBytes, float64(io.WChar)) } if io.WriteBytes > 0 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jun 20 17:55:03 UTC 2024 - 6.5K bytes - Viewed (0)