Skip to content

RoundTripCycleCount

Tom Barbette edited this page May 7, 2020 · 3 revisions

RoundTripCycleCount Element Documentation

NAME

RoundTripCycleCount — Click element; 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 packets and cycles counters to zero when written.

SEE ALSO

SetCycleCount, CycleCountAccum, SetPerfCount, PerfCountAccum

Generated by click-elem2man from ../elements/analysis/rtcycles.hh:5 on 2020/05/07.

Clone this wiki locally