nx_clock_driver_gate_ar.nx
buildroot/runtime/nx_clock_driver_gate_ar.nx
about
Local-only V2 real-process scheduler harness. Positive closure uses production seams;
ownership selectors require the explicitly instrumented test-only scheduler closure.
dependencies 5 imports · 0 importers
imports: nx_syscalls.nxnx_gate_verdict.nxnx_clock_driver_toolrun_ar.nxnx_build_canon_input_lib.nxnx_rank_refresh_lib.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
| 8 | const MODE_0755: i64 = 493 |
| 9 | const RIG_PATH: i64 = 4096 |
| 10 | const RIG_PTR: i64 = 8 |
| 11 | const RIG_FILE_MODE: i64 = 384 |
| 12 | const RIG_DIR_MODE: i64 = 448 |
| 13 | const RIG_EINVAL: i64 = 0 - 22 |
| 14 | const RIG_SETUP: i64 = 90 |
| 15 | const RIG_GUARD: *u8 = "NISHI-CLOCK-RESERVE-FIXTURE\n" |
| 16 | const CRG_EXCLUSIVE: i64 = 2 |
| 17 | const CRG_UNLOCK: i64 = 8 |
| 18 | const CRG_ROLES: i64 = 4 |
| 19 | const CRG_SLOW: i64 = 0 |
| 20 | const CRG_ESSENTIAL: i64 = 1 |
| 21 | const CRG_ORDINARY: i64 = 2 |
| 22 | const CRG_WINDOW: i64 = 3 |
| 23 | const CRG_START: i64 = 1 |
| 24 | const CRG_END: i64 = 0 |
| 25 | const CRG_MS_PER_SEC: i64 = 1000 |
| 26 | const CRG_MIN_COMPLETIONS: i64 = 2 |
| 27 | const CRG_FAULT_ROLE: i64 = 4 |
| 28 | const CRG_FAULT_POINT: i64 = 2 |
| 29 | const CRG_TEST_ECHILD: i64 = 0 - 10 |
functions
| 30 | func rig_len(p: *u8) -> i64 { var n: i64 = 0; while p[n] != (0 as u8) { n = n + 1 } return n } |
| 31 | func rig_eq(a: *u8, b: *u8) -> i64 called by 1: main |
| 37 | func rig_num(p: *u8) -> i64 |
| 51 | func rig_join(root: *u8, rel: *u8) -> *u8 |
| 58 | func rig_exists(path: *u8) -> i64 |
| 65 | func rig_parent(path: *u8) -> i64 |
| 86 | func rig_write(path: *u8, buf: *u8, n: i64) -> i64 |
| 101 | func rig_file(root: *u8, rel: *u8, val: *u8) -> i64 { return rig_write(rig_join(root,rel),val,rig_len(val)) } |
| 102 | func rig_dir(root: *u8, rel: *u8) -> i64 |
| 108 | func rig_link(root: *u8, rel: *u8, target: *u8) -> i64 |
| 114 | func rig_guard() -> i64 { return rrf_file_equal("fixture-root.guard" as *u8,RIG_GUARD,rig_len(RIG_GUARD)) } |
| 116 | func crg_event(role: i64, phase: i64) -> i64 |
| 130 | func crg_child(argc: i64, argv: *i64) -> i64 |
| 142 | func crg_command(dst: *u8, role: i64, duration: *u8) -> i64 |
| 147 | func crg_setup(root: *u8, self: *u8) -> i64 |
| 168 | func dfg_analyze(root: *u8, fatal: i64, ctr: *i64) -> i64 |
| 227 | func dfg_size(p: *u8) -> i64 |
| 231 | func dfg_epoch(p: *u8,minimum: i64,maximum: i64) -> i64 |
| 247 | func dfg_contains(p: *u8,needle: *u8) -> i64 |
| 254 | func dfg_row(buf: *u8,o: i64,name: *u8,period: i64,due: i64,role: i64,duration: *u8) -> i64 |
| 261 | func main(argc: i64,argv: *i64) -> i64 |