**This is automatically generated documentation.** Edit after the "[[#COMMENTS|COMMENTS]]" heading; changes to the main body will be lost. ====== SetTimestamp Element Documentation ====== ===== NAME ===== **SetTimestamp** -- Click element; store the time in the packet's timestamp annotation ===== SYNOPSIS ===== SetTimestamp([TIMESTAMP, //keyword// FIRST, DELTA]) **Ports**: 1 input, 1 output\\ **Processing**: agnostic\\ **Package**: standard (core)\\ ===== 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 true. ? **DELTA** ! Boolean. If true, then set the packet's timestamp annotation to the difference between its current timestamp annotation and its "first timestamp" annotation. Default is false. ===== SEE ALSO ===== [[StoreTimestamp]], [[PrintOld]] Generated by 'click-elem2man' from '../elements/standard/settimestamp.hh' on 24/May/2007. ===== COMMENTS =====