- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for newXferStats (0.07 sec)
-
cmd/site-replication-metrics.go
} func (sr *SRStats) update(st replStat, dID string) { sr.lock.Lock() defer sr.lock.Unlock() srs, ok := sr.M[dID] if !ok { srs = &SRStatus{ XferRateLrg: newXferStats(), XferRateSml: newXferStats(), } } srs.Endpoint = st.Endpoint srs.Secure = st.Secure switch { case st.Completed: srs.ReplicatedSize += st.TransferSize srs.ReplicatedCount++
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Feb 06 06:00:45 UTC 2024 - 8.2K bytes - Viewed (0) -
cmd/bucket-replication-stats.go
bs, ok := r.Cache[bucket] if !ok { bs = newBucketReplicationStats() r.Cache[bucket] = bs } b, ok := bs.Stats[ri.Arn] if !ok { b = &BucketReplicationStat{ XferRateLrg: newXferStats(), XferRateSml: newXferStats(), } bs.Stats[ri.Arn] = b } switch { case rs.Completed: b.ReplicatedSize += rs.TransferSize b.ReplicatedCount++ if rs.TransferDuration > 0 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 15 12:04:40 UTC 2024 - 13.6K bytes - Viewed (0) -
cmd/bucket-stats.go
qs.QStats = r.qCache.getSiteStats() qs.MRFStats = ReplicationMRFStats{ LastFailedCount: atomic.LoadUint64(&r.mrfStats.LastFailedCount), } r.RLock() defer r.RUnlock() tx := newXferStats() for _, brs := range r.Cache { for _, v := range brs.Stats { tx := tx.merge(*v.XferRateLrg) tx = tx.merge(*v.XferRateSml) } } qs.XferStats[Total] = *tx return qs }
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/bucket-replication-metrics.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 15 12:04:40 UTC 2024 - 14.2K bytes - Viewed (0)