- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for calcQLatency (0.09 sec)
-
pkg/test/loadbalancersim/mesh/node.go
// Get the current queue length. qLen := n.q.Len() qLatency := n.calcQLatency(qLen) // Add the observations tnow := time.Now() n.qLength.AddObservation(float64(qLen), tnow) n.qLatency.AddObservation(qLatency.Seconds(), tnow) return n.serviceTime + qLatency } func (n *Node) calcQLatency(qlen int) time.Duration { if !n.qLatencyEnabled { return 0 }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Feb 03 18:19:25 UTC 2022 - 3.7K bytes - Viewed (0)