Skip to content
Tom Barbette edited this page Oct 3, 2018 · 2 revisions

TimeRange Element Documentation

NAME

TimeRange — Click element; monitor range of packet timestamps

SYNOPSIS

TimeRange(keyword SIMPLE)

Ports: 1 input, 1 output
Processing: agnostic

DESCRIPTION

TimeRange passes packets along unchanged, monitoring the smallest range that contains all of their timestamps. You can access that range with handlers.

Keyword arguments are:

  • SIMPLE — Boolean. If true, then packets arrive at TimeRange with monotonically increasing timestamps. Default is false.

ELEMENT HANDLERS

  • first (read-only) — Returns the earliest timestamp observed, or "0.0" if no packets have passed.
  • last (read-only) — Returns the latest timestamp observed, or "0.0" if no packets have passed.
  • range (read-only) — Returns the earliest and latest timestamps observed, separated by a space.
  • interval (read-only) — Returns the difference between the earliest and latest timestamps observed, in seconds.
  • reset (write-only) — Clears the stored range. Future packets will accumulate a new range.

SEE ALSO

TimeFilter

Generated by click-elem2man from ../elements/analysis/timerange.hh:7 on 2018/10/03.

Clone this wiki locally