Skip to content

RoundTripCycleCount

Eddie Kohler edited this page Oct 18, 2017 · 1 revision

RoundTripCycleCount Element Documentation

NAME

RoundTripCycleCount — Click element; measures round trip cycles on a push or pull path

SYNOPSIS

RoundTripCycleCount()

Ports: 1 input, 1 output
Processing: agnostic
Drivers: linuxmodule

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/linuxmodule/rtcycles.hh:5 on 2017/10/17.

Clone this wiki locally