FastClick

Elements / Timestamps

TimestampAccum

collects differences in timestamps

SYNOPSIS§

TimestampAccum()

Batching: Batching natively supported
Ports: 1 or more inputs, the same number of outputs
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 in seconds.
  • min (read-only) — Returns the minimal timestamp difference across all passing packets in seconds.
  • max (read-only) — Returns the maximal timestamp difference across all passing packets in seconds.
  • 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:9 on 2026/11/02.