Skip to content

Function clock_now

function clock_now() runtime

inline uint64_t clock_now() noexcept

Returns the current value of the OS's highest-resolution monotonic clock. On modern hardware, these typically map to hardware instructions (RDTSC/CNTVCT_EL0) via user-mode shared pages, avoiding a heavy syscall context switch.

Fully qualified name: kfr::clock_now()

Declared at runtime/time.hpp:287

This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.