code wiki / (root) / nx_bench_companion_test.nx

nx_bench_companion_test.nx

buildroot/runtime/nx_bench_companion_test.nx

6357 B150 linesdepth 5pulls 9 transitivereach 0 importersview sourcekind gate/prooftopic bench
docsdependenciesstructsconstsfunctions

about

nx_bench_companion_test.nx -- smoke for the bench-capture primitive. Drives a small parallel-companion session through known operations, captures the report, and asserts every substrate counter has the exact value the operations should have produced. Substrate-honest: every assertion compares against a counter the operations actually drove, not an aspirational target.

dependencies 8 imports · 0 importers

nx_syscalls.nx nx_tier.nx nx_actor.nx nx_message.nx nx_resource_arbiter.nx nx_interrupt_broker.nx nx_session.nx nx_bench_companion.nx nx_bench_companion_test.nx

imports: nx_syscalls.nxnx_tier.nxnx_actor.nxnx_message.nxnx_resource_arbiter.nxnx_interrupt_broker.nxnx_session.nxnx_bench_companion.nx

imported by: nobody (leaf or entry point)

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

main nx_bc_v_is_valid nx_bc_report_new 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_bc_report_verdict nx_session_new_default nx_session_new sys_mmap ↻ nx_ac_sched_new sys_mmap ↻ nx_ms_bus_new sys_mmap ↻ nx_sm_new sys_mmap ↻ nx_ra_new sys_mmap ↻ sys_munmap nx_ib_new sys_mmap ↻ nx_session_is_ready nx_session_spawn_actor nx_ac_spawn nx_ms_register sys_mmap ↻ nx_session_subscribe nx_ms_subscribe

structs

none

consts

none

functions

18func main() -> i64