11#include "ws_symbol_export.h"
@ WS_TSPREC_USEC
Definition nstime.h:395
@ WS_TSPREC_100_NSEC
Definition nstime.h:396
@ WS_TSPREC_100_MSEC
Definition nstime.h:390
@ WS_TSPREC_100_USEC
Definition nstime.h:393
@ WS_TSPREC_NSEC
Definition nstime.h:398
@ WS_TSPREC_MSEC
Definition nstime.h:392
@ WS_TSPREC_10_MSEC
Definition nstime.h:391
@ WS_TSPREC_10_USEC
Definition nstime.h:394
@ WS_TSPREC_SEC
Definition nstime.h:389
@ WS_TSPREC_10_NSEC
Definition nstime.h:397
WS_DLL_PUBLIC void timestamp_set_type(ts_type ts_t)
Set the timestamp type.
Definition timestamp.c:28
ts_seconds_type
Controls how the seconds component of a timestamp is formatted for display.
Definition timestamp.h:64
@ TS_SECONDS_DEFAULT
Definition timestamp.h:65
@ TS_SECONDS_HOUR_MIN_SEC
Definition timestamp.h:66
WS_DLL_PUBLIC void timestamp_set_precision(int tsp)
Set the timestamp precision.
Definition timestamp.c:39
WS_DLL_PUBLIC ts_type timestamp_get_type(void)
Get the current timestamp type.
Definition timestamp.c:23
WS_DLL_PUBLIC void timestamp_set_seconds_type(ts_seconds_type ts_t)
Set the timestamp seconds type.
Definition timestamp.c:50
ts_precision
Sub-second precision used when formatting packet timestamps.
Definition timestamp.h:43
@ TS_PREC_FIXED_100_USEC
Definition timestamp.h:49
@ TS_PREC_FIXED_MSEC
Definition timestamp.h:48
@ TS_PREC_AUTO
Definition timestamp.h:44
@ TS_PREC_FIXED_10_USEC
Definition timestamp.h:50
@ TS_PREC_FIXED_10_NSEC
Definition timestamp.h:53
@ TS_PREC_FIXED_NSEC
Definition timestamp.h:54
@ TS_PREC_FIXED_USEC
Definition timestamp.h:51
@ TS_PREC_FIXED_SEC
Definition timestamp.h:45
@ TS_PREC_FIXED_10_MSEC
Definition timestamp.h:47
@ TS_PREC_FIXED_100_NSEC
Definition timestamp.h:52
@ TS_PREC_FIXED_100_MSEC
Definition timestamp.h:46
ts_type
Format used to display packet timestamps in the summary packet list.
Definition timestamp.h:22
@ TS_ABSOLUTE
Definition timestamp.h:25
@ TS_ABSOLUTE_WITH_YMD
Definition timestamp.h:26
@ TS_UTC
Definition timestamp.h:31
@ TS_ABSOLUTE_WITH_YDOY
Definition timestamp.h:27
@ TS_RELATIVE_CAP
Definition timestamp.h:24
@ TS_UTC_WITH_YMD
Definition timestamp.h:32
@ TS_RELATIVE
Definition timestamp.h:23
@ TS_DELTA_DIS
Definition timestamp.h:29
@ TS_DELTA
Definition timestamp.h:28
@ TS_EPOCH
Definition timestamp.h:30
@ TS_UTC_WITH_YDOY
Definition timestamp.h:33
WS_DLL_PUBLIC int timestamp_get_precision(void)
Get the current timestamp precision.
Definition timestamp.c:34
WS_DLL_PUBLIC ts_seconds_type timestamp_get_seconds_type(void)
Get the current timestamp seconds type.
Definition timestamp.c:45