FastClick

Elements / Timestamps

SetTimestampDelta

replace packet timestamps with deltas

SYNOPSIS§

SetTimestampDelta([keywords TYPE])

Batching: Batching natively supported
Ports: 1 input, 1 output
Processing: agnostic

DESCRIPTION§

SetTimestampDelta replaces nonzero packet timestamps with deltas.

Keyword arguments are:

  • TYPE — Sets the type of delta. The default is RANGE, which means the delta relative to the first nonzero packet timestamp encountered. Other possibilities are NOW, which means the delta between its current timestamp and now, and FIRST, which means the delta between its first timestamp annotation and its current timestamp.

ELEMENT HANDLERS§

  • first (read-only) — Returns the earliest nonzero timestamp observed, if any.
  • reset (write-only) — Clears the timestamp record. Future packet timestamps will be measured relative to the next nonzero timestamp encountered.

SEE ALSO§

SetTimestamp, AdjustTimestamp, TimeFilter

Generated by click-elem2man from ../elements/analysis/settimestampdelta.hh:7 on 2026/11/02.