code wiki / _hdl_build / nx_toolatency_staged_cli_gate.nx

nx_toolatency_staged_cli_gate.nx

buildroot/runtime/_hdl_build/nx_toolatency_staged_cli_gate.nx

11900 B158 linesdepth 5pulls 7 transitivereach 0 importersview sourcekind gate/prooftopic toolatency
docsdependenciesstructsconstsfunctions

about

Subject execution only in fresh private CWDs, with complete retained captures. The shared timed runner owns its child/watchdog lifecycle; no production signal/config writes.

dependencies 3 imports · 0 importers

nx_toolatency_observation_lib.nx nx_tool_run.nx nx_gate_verdict.nx nx_toolatency_staged_cli_gate.

imports: nx_toolatency_observation_lib.nxnx_tool_run.nxnx_gate_verdict.nx

imported by: nobody (leaf or entry point)

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

main to_eq to_len to_len ↻ oc_closed oc_path_ok to_len ↻ to_eq ↻ gv_puts sys_write oc_path_ok ↻ to_int gv_ctr 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 ↻ gv_head gv_puts ↻ oc_read gv_check gv_puts ↻ gv_verdict gv_note_bare_rate gv_bare_rate gv_at gv_obj_has_n gv_at ↻ gv_puts ↻

structs

none

consts

6const OC_ARGS: i64 = 6
7const OC_DIR_MODE: i64 = 448
8const OC_FILE_MODE: i64 = 384
9const OC_RETAINED_BYTES: i64 = 8165
10const OC_RETAINED_ROWS: i64 = 23
11const OC_SETUP_FAILURE: i64 = 126

functions

13func oc_copy(b: *u8, p: i64, s: *u8) -> i64
called by 1: main
16func oc_path_ok(s: *u8, directory: i64) -> i64
called by 2: oc_closedmain calls 2: to_lento_eq
29func oc_put(path: *u8, b: *u8, n: i64) -> i64
called by 2: oc_capturemain
38func oc_read(path: *u8, b: *u8, cap: i64) -> i64
called by 2: oc_samemain
49func oc_same(path: *u8, expected: *u8, n: i64, scratch: *u8, cap: i64) -> i64
called by 1: main calls 1: oc_read
53func oc_capture(subject: *u8, av: *i64, cwd: *u8, name: *u8, b: *u8, cap: i64, timeout: i64, expected_exit: i64, empty: i64, ctr: *i64) -> i64
70func oc_closed(argc: i64, argv: *i64) -> i64
called by 1: main calls 1: oc_path_ok
81func main(argc: i64, argv: *i64) -> i64