patch_seq_time_nanos

Function patch_seq_time_nanos 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn patch_seq_time_nanos(stack: Stack) -> Stack
Expand description

Get monotonic nanoseconds for precise timing

Stack effect: ( – Int )

Returns nanoseconds elapsed since the first call to this function. Uses CLOCK_MONOTONIC for thread-independent consistent values. Values start near zero for easier arithmetic.

§Safety

  • stack must be a valid stack pointer (may be null for empty stack)