Function caerFrameEventGetTimestamp
Defined in File frame.h
Function Documentation
-
static inline int32_t caerFrameEventGetTimestamp(caerFrameEventConst event)
Get the 32bit event timestamp, in microseconds. This is a median of the exposure timestamps. Be aware that this wraps around! You can either ignore this fact, or handle the special ‘TIMESTAMP_WRAP’ event that is generated when this happens, or use the 64bit timestamp which never wraps around. See ‘caerEventPacketHeaderGetEventTSOverflow()’ documentation for more details on the 64bit timestamp.
- Parameters:
event – a valid FrameEvent pointer. Cannot be NULL.
- Returns:
this event’s 32bit microsecond timestamp.