Skip to content
Tom Barbette edited this page May 7, 2020 · 4 revisions

TimestampDiff Element Documentation

NAME

TimestampDiff — Click element; Compute the RTT of packets marked with RecordTimestamp

SYNOPSIS

TimestampDiff()

Batching: Batching natively supported
Ports: 1 input, 1-2 outputs
Processing: push
Drivers: userlevel

DESCRIPTION

Compute the difference between the recorded timestamp of a packet using RecordTimestamp and a fresh timestamp. Computations are performed only for numbered packets, either by a NumberPacket element or an external entity.

Arguments:

  • RECORDER — Instance of RecordTimestamp that provides the initial timestamp.
  • OFFSET — Integer. Offset in the packet where the timestamp resides.
  • N — Size of the reservoir. Defaults to 0.
  • MAXDELAY — Integer. Maximum delay in milliseconds. If a packet exhibits such a delay (or greater), the user is notified. Defaults to 1000 ms (1 sec).

SEE ALSO

RecordTimestamp, NumberPacket

Generated by click-elem2man from ../elements/analysis/timestampdiff.hh:11 on 2020/05/07.

Clone this wiki locally