nx_linkqual_bench.nx
buildroot/runtime/nx_linkqual_bench.nx
about
nx_linkqual_bench.nx -- MEASURED hot-path performance of the link-quality
substrate on THIS hardware (1:1, no proxy: native x86_64 ELF, raw
syscalls, monotonic sys_now_us deltas). Reports ns/op + updates/sec for
each hot-path update so we can claim "as performant as the hardware
allows" with a real number, not an assertion. Honest method: a warmup
pass is discarded; inputs vary per-iteration so the work can't be folded.
license_tier: ORIGINAL
dependencies 1 imports · 0 importers
imports: nx_linkqual.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
| 11 | const K_MAGIC_2000000: i64 = 2000000 |
| 12 | const K_MAGIC_100000: i64 = 100000 |
functions
| 14 | func bdec(n: i64) -> i64 called by 1: breport |
| 27 | func breport(label: *u8, label_len: i64, n: i64, us: i64) -> i64 |
| 39 | func main() -> i64 |