-
Notifications
You must be signed in to change notification settings - Fork 321
TimeRange
Eddie Kohler edited this page Oct 17, 2017
·
2 revisions
TimeRange — Click element; monitor range of packet timestamps
TimeRange(keyword SIMPLE)
Ports: 1 input, 1 output
Processing: agnostic
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.
- 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.
Generated by click-elem2man from ../elements/analysis/timerange.hh:7
on 2017/10/17.