code wiki / (root) / nx_print_runtime_thermal_test.nx

nx_print_runtime_thermal_test.nx

buildroot/runtime/nx_print_runtime_thermal_test.nx

3839 B105 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind gate/prooftopic print
docsdependenciesstructsconstsfunctions

about

nx_print_runtime_thermal_test.nx -- thermal-dropout detection extension of the runtime spaghetti monitor. Closed-form invariants: (a) All temps at setpoint -> no issue (b) Brief dropout (< duration) -> no issue (c) Bed below for > duration -> BED_TEMP_DROP fires (d) Recovery: temp returns to setpoint -> next event no issue (e) Hotend below -> HOTEND_TEMP_DROP fires (f) Chamber below -> CHAMBER_TEMP_DROP fires (g) Setpoint = -1 skips axis (no spurious alarm even at -100°C) (h) n_issues_total tracks fires expect_exit: 0 license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_print_runtime_monitor.nx nx_print_runtime_thermal_test.

imports: nx_syscalls.nxnx_print_runtime_monitor.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 nxa_die sys_write sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ nx_runtime_monitor_set_the nx_runtime_monitor_step_th nx_rt_thermal_axis_check

structs

none

consts

none

functions

20func main() -> i64