nx_loadceil_gate.nx
buildroot/runtime/nx_loadceil_gate.nx
about
nx_loadceil_gate.nx -- GATE for the load-ceiling calibrator (LV3). Composes nx_loadceil_lib in-process on
PLANTED resmon-log buffers, so every value is asserted with no /proc, no fork and no real log.
THE LOAD-BEARING TOOTH is the coupling: recommend * LC_HARD_FACTOR == storm_trigger, and storm_trigger is
the GREEN load at the declared quantile. If either drifts from ba_verdict's arithmetic the arming value
would land the storm trigger in the wrong place -- so the gate asserts the whole chain, not just that a
number came out.
NEG-CONTROLS: an all-RED log yields zero green samples -> INSUFFICIENT (never a recommendation from no
healthy history); a below-minimum sample -> INSUFFICIENT; RED beats with high load must NOT enter the
green distribution (the exact failure that would let a wedge's load calibrate the ceiling that exists to
catch wedges).
dependencies 3 imports · 0 importers
imports: nx_syscalls.nxnx_gate_verdict.nxnx_loadceil_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
| 21 | const VLG_SHUFFLE_STRIDE: i64 = 7919 |
| 23 | const VLG_SORTN: i64 = 100 |
functions
| 27 | func vlg_synth(buf: *u8, base: i64, greens: i64, reds: i64, redload: i64) -> i64 |
| 46 | func vlg_line(buf: *u8, o0: i64, load: i64, state: *u8) -> i64 |
| 56 | func vlg_cat(buf: *u8, o0: i64, s: *u8) -> i64 { var o: i64 = o0; var i: i64 = 0; while s[i] != (0 as u8) { buf[o] = s[i]; o = o + 1; i = i + 1 } return o } called by 1: vlg_line |
| 57 | func vlg_catn(buf: *u8, o0: i64, v0: i64) -> i64 |
| 69 | func main() -> i64 |