code wiki / (root) / nx_print_telemetry_test.nx

nx_print_telemetry_test.nx

buildroot/runtime/nx_print_telemetry_test.nx

4942 B120 linesdepth 4pulls 4 transitivereach 0 importersview sourcekind gate/prooftopic print
docsdependenciesstructsconstsfunctions

about

nx_print_telemetry_test.nx -- exercise the unified telemetry pump across all 4 enabled surfaces. Closed-form invariants: (a) Empty event (all has_* = 0): no issue, no count (b) Motion-only event with normal values: no issue (c) Motion + thermal + runout + shift all populated, normal: no issue (d) Shift drift fires LAYER_SHIFT (priority 1) (e) When multiple kinds fire on one tick, returned verdict is the priority-1 winner BUT n_issues_total counts all fires (f) Partial population: has_motion=1, others 0; runout sensor set but has_runout=0 -> no runout fire (g) Null m / null ev returns NONE expect_exit: 0 license_tier: ORIGINAL

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_print_runtime_monitor.nx nx_print_telemetry.nx nx_print_telemetry_test.nx

imports: nx_syscalls.nxnx_print_runtime_monitor.nxnx_print_telemetry.nx

imported by: nobody (leaf or entry point)

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

main nx_runtime_monitor_new sys_mmap nx_runtime_monitor_set_the nx_runtime_monitor_set_lay nx_print_telemetry_new sys_mmap ↻ nx_runtime_monitor_pump_te nx_runtime_monitor_step_la nx_runtime_monitor_step nx_runtime_monitor_step_th nx_rt_thermal_axis_check nx_runtime_monitor_step_ru

structs

none

consts

22const Q14: i64 = 16384

functions

24func main() -> i64