nx_clock_test.nx
buildroot/runtime/nx_clock_test.nx
about
nx_clock_test.nx -- verify clock primitive returns valid + monotonic times.
Asserts on STRUCTURE not absolute time values (no Y2K-style hardcodes).
- monotonic clock advances or stays equal across reads
- realtime clock returns nonzero value (clock is initialized)
- elapsed_us is non-negative for any prior start_ns
- elapsed_ms is non-negative
dependencies 2 imports · 0 importers
imports: syscalls.nxnx_clock_full.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 15 | func main() -> i64 { |