patch_seq_time_now

Function patch_seq_time_now 

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

Get current time in microseconds since Unix epoch

Stack effect: ( – Int )

Returns wall-clock time. Good for timestamps. For measuring durations, prefer time.nanos which uses a monotonic clock.

§Safety

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