Timestamp representation and utilities. More...
Functions | |
def | data_ns (self) |
Timestamp in nanoseconds. | |
def | get_nanoseconds (self) |
Gets the timestamp in nanoseconds. | |
def | get_microseconds (self) |
Gets the timestamp in microseconds. | |
def | get_milliseconds (self) |
Gets the timestamp in milliseconds. | |
def | get_seconds (self) |
Gets the timestamp in seconds. | |
def | set_nanoseconds (self, int t_ns) |
Sets the timestamp to a value in nanoseconds. | |
def | set_microseconds (self, int t_us) |
Sets the timestamp to a value in microoseconds. | |
def | set_milliseconds (self, int t_ms) |
Sets the timestamp to a value in milliseconds. | |
def | set_seconds (self, int t_s) |
Sets the timestamp to a value in seconds. | |
Timestamp representation and utilities.