RoundTripCycleCount
measures round trip cycles on a push or pull path
SYNOPSIS§
RoundTripCycleCount()
Batching: Batching natively supported
Ports: 1 input, 1 output
Processing: agnostic
DESCRIPTION§
Measures the number of CPU cycles it takes for a push or pull to come back to the element. This is a good indication of how much CPU is spent on the Click path after or before this element.
ELEMENT HANDLERS§
- packets (read-only) — Returns the number of packets that have passed.
- cycles (read-only) — Returns the accumulated round-trip cycles for all passing packets.
- reset_counts (write-only) —
Resets
packetsandcyclescounters to zero when written.
SEE ALSO§
SetCycleCount, CycleCountAccum, SetPerfCount, PerfCountAccum
Generated by click-elem2man from ../elements/analysis/rtcycles.hh:5 on 2026/11/02.