Get the time of the specified clock
The clock_time_get()
function is used to retrieve the time of the specified clock. It returns the value of the clock in nanoseconds.
Note
The clock_time_get()
function retrieves the time of the specified clock. The time value is returned in nanoseconds and is written to the specified memory location.