code wiki / bin / nx_bench_x25519.nx

nx_bench_x25519.nx

buildroot/runtime/bin/nx_bench_x25519.nx

1685 B43 linesdepth 5pulls 9 transitivereach 0 importersview sourcekind benchtopic bench
docsdependenciesstructsconstsfunctions

about

nx_bench_x25519.nx -- isolated X25519 ECDH (variable-base) bench.

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_csprng.nx nx_x25519_ephemeral.nx nx_bench_x25519.nx

imports: nx_syscalls.nxnx_csprng.nxnx_x25519_ephemeral.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main sys_mmap nxa_die sys_write sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ nx_csprng_fill sys_mmap ↻ nx_csprng_urandom_path sys_openat_rd sys_read sys_close sys_now_us sys_mmap ↻ sys_clock_gettime_mono bprint sys_write ↻ bstrlen sys_mmap ↻

structs

none

consts

none

functions

6func bstrlen(s: *u8) -> i64 { var n: i64 = 0; while s[n] != 0 { n = n + 1 } return n }
called by 1: bprint
7func bprint(label: *u8, total_us: i64, n: i64) -> i64
called by 1: main calls 3: sys_writebstrlensys_mmap
29func main() -> i64