get_time_ns

Function get_time_ns 

Source
pub fn get_time_ns(clock_type: ClockType) -> u64
Expand description

Returns a timestamp in nanoseconds based on the provided clock type.

ยงArguments

  • clock_type - Identifier of the Linux Kernel clock on which to act.