code wiki / (root) / nx_ppdemo_serial.nx

nx_ppdemo_serial.nx

buildroot/runtime/nx_ppdemo_serial.nx

576 B15 linesdepth 2pulls 2 transitivereach 0 importersview sourcekind tooltopic ppdemo
docsdependenciesstructsconstsfunctions

about

nx_ppdemo_serial.nx -- a controlled SINGLE-THREADED compute workload (a tight arithmetic loop, no I/O) used to validate nx_parallelism_probe: it should measure cpu/wall ~= 1.0 (one core, fully busy) and verdict SINGLE-THREADED. This is the "codec that turned out serial" shape. license_tier: ORIGINAL expect_exit: 0

dependencies 1 imports · 0 importers

nx_syscalls.nx nx_ppdemo_serial.nx

imports: nx_syscalls.nx

imported by: nobody (leaf or entry point)

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

main sys_exit

structs

none

consts

5const K_MAGIC_3000000000: i64 = 3000000000

functions

7func main() -> i64
calls 1: sys_exit