Retrieve the timestamp of a sensor reading.
BPS_API uint64_t sensor_event_get_timestamp(bps_event_t *event)
The sensor event to get the timestamp of.
Library:libbps (For the qcc command, use the -l bps option to link against this library)
The sensor_event_get_timestamp() function gets the timestamp of the specified sensor event. The sensor event's time stamp is returned with each sensor reading. The time (in nanoseconds) is a reference from the monotonic clock from the last the device started up.
The timestamp of the sensor reading.
Last modified: 2014-05-14