- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for Waddell (0.16 sec)
-
cmd/last-minute.go
sec := time.Now().Unix() l.forwardTo(sec) winIdx := sec % 60 l.Totals[winIdx].add(t) l.LastSec = sec } // Add a new duration data func (l *lastMinuteLatency) addAll(sec int64, a AccElem) { l.forwardTo(sec) winIdx := sec % 60 l.Totals[winIdx].merge(a) l.LastSec = sec } // Merge all recorded latencies of last minute into one
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Wed Jul 05 17:40:45 GMT 2023 - 4.8K bytes - Viewed (0) -
cmd/bucket-stats.go
nl = ReplicationLastMinute{rl.LastMinute.merge(other.LastMinute)} return } func (rl *ReplicationLastMinute) addsize(n int64) { t := time.Now().Unix() rl.LastMinute.addAll(t-1, AccElem{Total: t - 1, Size: n, N: 1}) } func (rl *ReplicationLastMinute) String() string { t := rl.LastMinute.getTotal() return fmt.Sprintf("ReplicationLastMinute sz= %d, n=%d , dur=%d", t.Size, t.N, t.Total) }
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Tue Feb 06 06:00:45 GMT 2024 - 13.1K bytes - Viewed (0) -
src/cmd/cgo/ast.go
f.walk(n.Values, ctxExpr, visit) } case *ast.TypeSpec: if tparams := typeSpecTypeParams(n); tparams != nil { f.walk(tparams, ctxParam, visit) } f.walk(&n.Type, ctxType, visit) case *ast.BadDecl: case *ast.GenDecl: f.walk(n.Specs, ctxSpec, visit) case *ast.FuncDecl: if n.Recv != nil { f.walk(n.Recv, ctxParam, visit) } f.walk(n.Type, ctxType, visit) if n.Body != nil {
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Wed Jun 07 16:54:27 GMT 2023 - 14.3K bytes - Viewed (0) -
cmd/xl-storage-disk-id-check.go
old := e.cached.Swap(newAcc) var a AccElem a.Size = atomic.LoadInt64(&old.Size) a.Total = atomic.LoadInt64(&old.Total) a.N = atomic.LoadInt64(&old.N) e.mu.Lock() e.lastMinuteLatency.addAll(t-1, a) e.mu.Unlock() acc = newAcc } else { // We may be able to grab the new accumulator by yielding. runtime.Gosched() acc = e.cached.Load() } } atomic.AddInt64(&acc.N, 1)
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Sun Apr 28 17:53:50 GMT 2024 - 33K bytes - Viewed (0)