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

SetTimestamp Element Documentation

NAME

SetTimestamp — Click element; store the time in the packet's timestamp annotation

SYNOPSIS

SetTimestamp([TIMESTAMP, keyword FIRST])

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

DESCRIPTION

Store the specified TIMESTAMP in the packet's timestamp annotation. If TIMESTAMP is not specified, then sets the annotation to the system time when the packet arrived at the SetTimestamp element.

Keyword arguments are:

  • FIRST — Boolean. If true, then set the packet's "first timestamp" annotation, not its timestamp annotation. Default is false.

SEE ALSO

StoreTimestamp, AdjustTimestamp, SetTimestampDelta, PrintOld

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

Clone this wiki locally