-
Notifications
You must be signed in to change notification settings - Fork 81
AverageCounter
Tom Barbette edited this page Jul 28, 2023
·
5 revisions
AverageCounter — Click element; measures historical packet count and rate
AverageCounter([IGNORE])
Batching: Batching natively supported
Ports: 1 input, 1 output
Processing: agnostic
Passes packets unchanged from its input to its output, maintaining statistics information about packet count and packet rate using a strict average.
The rate covers only the time between the first and most recent packets.
IGNORE, by default, is 0. If it is greater than 0, the first IGNORE number of seconds are ignored in the count.
- count (read-only) — Returns the number of packets that have passed through since the last reset.
- byte_count (read-only) — Returns the number of packets that have passed through since the last reset.
- rate (read-only) — Returns packet arrival rate.
- byte_rate (read-only) — Returns packet arrival rate in bytes per second. (Beware overflow!)
- reset (write-only) — Resets the count and rate to zero.
AverageCounterMP, AverageCounterIMP
Generated by click-elem2man from ../elements/standard/averagecounter.hh:9
on 2023/07/28.