code wiki / _hdl_build / nx_mhbench.nx

nx_mhbench.nx

buildroot/runtime/_hdl_build/nx_mhbench.nx

15628 B362 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind bench
docsdependenciesstructsconstsfunctions

about

nx_mhbench.nx -- the BEYOND-METAHUMAN capability ruler (Phase 0 of the beyond-metahuman program). MetaHuman-PARITY axes + sovereign EXCEED axes; verdicts are COMPUTED against on-disk artifacts on EVERY call (a missing artifact DOWNGRADES its axis to GAP, flagged) -- never hand-asserted coverage. gap_queue (weight-desc over non-HAVE axes) IS the build order. Coverage is BREADTH, never realism: the honest block carries the perceptual truth (CLAY ~175 solo, ~130 beside a photo) in-band. Verbs: (none|board) emit JSON | <rootOverride> emit vs alternate artifact root | selftest = gv gate. license_tier: ORIGINAL expect_exit: 0 No hw writes (Rule 26).

dependencies 1 imports · 0 importers

nx_gate_verdict.nx nx_mhbench.nx

imports: nx_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 mh_streq mh_gate gv_ctr sys_mmap gv_head gv_puts sys_write mh_reg ax mh_compute ocat mh_fsize sys_fstatat mh_emit js ocat ↻ vs jn onum mh_queue js ↻ jn ↻ mh_has gv_check gv_puts ↻ gv_verdict gv_puts ↻ gv_num sys_mmap ↻ sys_write ↻ sys_munmap gv_journal sys_openat_append sys_mmap ↻ gv_catn sys_mmap ↻ sys_munmap ↻ sys_now_realtime_sec sys_mmap ↻

structs

none

consts

10const MH_BUF: i64 = 65536
11const MH_ARR: i64 = 4096
12const MH_PATH: i64 = 512
13const MH_STATB: i64 = 160
14const MH_STOFF: i64 = 48
15const MH_STRIDE: i64 = 8
16const MH_MAXAX: i64 = 24
17const MH_PERMIL: i64 = 1000
18const MH_QCAP: i64 = 12
19const MH_TMIN: i64 = 1500
20const MH_MINPAR: i64 = 13
21const MH_MINEXC: i64 = 6

functions

23func ocat(o: *u8, at: i64, s: *u8) -> i64 { var i: i64=0; var a: i64=at; while s[i]!=(0 as u8){o[a]=s[i]; a=a+1; i=i+1} return a }
called by 2: jsmh_compute
24func onum(o: *u8, at: i64, v: i64) -> i64
called by 1: jn
34func js(jb: *u8, jo: *i64, s: *u8) -> i64
called by 2: mh_queuemh_emit calls 1: ocat
38func jn(jb: *u8, jo: *i64, v: i64) -> i64
called by 2: mh_queuemh_emit calls 1: onum
43func mh_fsize(path: *u8) -> i64
called by 1: mh_compute calls 1: sys_fstatat
49func mh_has(h: *u8, hl: i64, nd: *u8) -> i64
called by 1: mh_gate
68func mh_streq(a: *u8, b: *u8) -> i64
called by 1: main
79func vs(v: i64) -> *u8
called by 1: mh_emit
85func ax(st: *i64, name: *u8, tier: i64, decl: i64, w: i64, ev: *u8) -> i64
called by 1: mh_reg
102func mh_reg() -> *i64
called by 2: mh_boardmh_gate calls 1: ax
138func mh_compute(st: *i64, root: *u8) -> i64
called by 2: mh_boardmh_gate calls 2: ocatmh_fsize
162func mh_queue(st: *i64, jb: *u8, jo: *i64) -> i64
called by 1: mh_emit calls 2: jsjn
206func mh_emit(st: *i64, jb: *u8, jo: *i64) -> i64
called by 2: mh_boardmh_gate calls 4: jsvsjnmh_queue
285func mh_board(root: *u8) -> i64
called by 1: main calls 3: mh_regmh_computemh_emit
296func mh_gate() -> i64
351func main(argc: i64, argv: *i64) -> i64