File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 55// - Test netdev.*NetDev.Traffic + $HOST_PROC.
66// - Add proper logging.
77// - Test netdev's logging.
8- // - Use layer8co/toolbox/container/ringbuf in netdev instead of []int64 once it's ready .
8+ // - Once layer8co/toolbox/container/ringbuf is ready, use it in netdev for storing samples instead of the []int64.
99// - Implement a generic bucketed pool in layer8co/toolbox and use that in rcu.*BufferRcu instead of sync.Pool.
1010// - Move rcu to layer8co/toolbox.
1111
Original file line number Diff line number Diff line change @@ -43,8 +43,8 @@ func (s *TimeSeries) Put(sample int64) {
4343 s .Samples [len (s .Samples )- 1 ] = sample
4444}
4545
46- // Rate is only applicaple to cumulative series .
47- // It returns the rate of change per second over the last d duration .
46+ // Rate returns the rate of change per second over the last d duration .
47+ // It is only applicable to cumulative series .
4848//
4949// Notes:
5050// - d must be >= s.Interval.
You can’t perform that action at this time.
0 commit comments