code wiki / _hdl_build / _ad_selfmeasure_test.nx

_ad_selfmeasure_test.nx

buildroot/runtime/_hdl_build/_ad_selfmeasure_test.nx

2469 B58 linesdepth 4pulls 4 transitivereach 0 importersview sourcekind gate/prooftopic ad
docsdependenciesstructsconstsfunctions

about

_ad_selfmeasure_test.nx -- GATE for DAEMON-SIL-R1 (daemon self-measurement). Drives adc_beat against a 1-target test conf and asserts the AUTORUN-BEAT row now carries the self-measurement fields (improvements_landed/driven/regressions/ beat_cost_s) -- the honest rank-D baseline made visible. Additive-only proof. Imports ONLY nx_ad_core (it re-exports nx_syscalls; a SECOND direct nx_syscalls import is the documented NXASM rc=6 landmine on this module). license_tier: ORIGINAL

dependencies 1 imports · 0 importers

nx_ad_core.nx _ad_selfmeasure_test.nx

imports: nx_ad_core.nx

imported by: nobody (leaf or entry point)

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

main adc_beat sys_mmap adc_targets sys_mmap ↻ adc_read sys_openat_rd sys_read sys_close sys_now_realtime_sec sys_mmap ↻ sys_clock_gettime_real sys_openat_append adc_run_one sys_fork sys_mmap ↻ sys_openat_append ↻ sys_dup3 sys_execve sys_exit sys_wait4 adc_w sys_write adc_wn nxi_fd sys_mmap ↻ ccz_cat_num sys_write ↻ sys_munmap sys_close ↻ t_w sys_read ↻ t_contains

structs

none

consts

none

functions

9func t_contains(hay: *u8, n: i64, needle: *u8) -> i64
called by 1: main
26func t_w(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 }
called by 1: main
28func main() -> i64