-
Notifications
You must be signed in to change notification settings - Fork 81
CycleCountAccum
CycleCountAccum — Click element; collects differences in cycle counters
CycleCountAccum()
Batching: Batching natively supported
Ports: 1 input, 1 output
Processing: agnostic
Incoming packets should have their cycle counter annotation set. Measures the current value of the cycle counter, and keeps track of the total accumulated difference. Packets whose cycle counter annotations are zero are not added to the count or difference.
A packet has room for either exactly one cycle count or exactly one performance metric.
-
count (read-only) — Returns the number of packets that have passed.
-
cycles (read-only) — Returns the accumulated cycles for all passing packets.
-
zero_count (read-only) — Returns the number of packets with zero-valued cycle counter annotations that have passed. These aren't included in the
count
.= cycles_pp read-only
Returns the average number of cycles per packets
-
reset_counts (write-only) — Resets
count
,cycles
, andzero_count
counters to zero when written.
SetCycleCount, RoundTripCycleCount, SetPerfCount, PerfCountAccum
Generated by click-elem2man from ../elements/analysis/cyclecountaccum.hh:5
on 2022/11/25.