Timestamp Class Reference

Structure representing timestamps with utilities. More...

Functions

int data_ns (self)
 Timestamp in nanoseconds.
 
int get_nanoseconds (self)
 Returns the timestamp in nanoseconds.
 
int get_microseconds (self)
 Returns the timestamp in microseconds.
 
int get_milliseconds (self)
 Returns the timestamp in milliseconds.
 
int get_seconds (self)
 Returns the timestamp in seconds.
 
None set_nanoseconds (self, int t_ns)
 Sets the timestamp to a value in nanoseconds.
 
None set_microseconds (self, int t_us)
 Sets the timestamp to a value in microseconds.
 
None set_milliseconds (self, int t_ms)
 Sets the timestamp to a value in milliseconds.
 
None set_seconds (self, int t_s)
 Sets the timestamp to a value in seconds.
 

Detailed Description

Structure representing timestamps with utilities.