Skip to content
Eddie Kohler edited this page Oct 17, 2017 · 4 revisions

TimestampAccum Element Documentation

NAME

TimestampAccum — Click element; collects differences in timestamps

SYNOPSIS

TimestampAccum()

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

DESCRIPTION

For each passing packet, measures the elapsed time since the packet's timestamp. Keeps track of the total elapsed time accumulated over all packets.

ELEMENT HANDLERS

  • count (read-only) — Returns the number of packets that have passed.
  • time (read-only) — Returns the accumulated timestamp difference for all passing packets.
  • average_time (read-only) — Returns the average timestamp difference over all passing packets.
  • reset_counts (write-only) — Resets count and time counters to zero when written.

SEE ALSO

SetCycleCount, RoundTripCycleCount, SetPerfCount, PerfCountAccum

Generated by click-elem2man from ../elements/analysis/timestampaccum.hh:7 on 2017/10/17.

Clone this wiki locally