code wiki / (root) / nx_capture_trace.nx

nx_capture_trace.nx

buildroot/runtime/nx_capture_trace.nx

13488 B274 linesdepth 2pulls 2 transitivereach 0 importersview sourcekind tooltopic capture
docsdependenciesstructsconstsfunctions

about

nx_capture_trace.nx -- WHERE THE INFLATION CAPTURE HAPPENS. Consumers paid more; this traces WHO actually received it and asks whether the people doing the work got ahead. Reads the same knowledge/anatomy/<good>.pack layers, routes each layer price increase to a RECIPIENT (farmer / worker / input-supplier / capital-margin / rentier / government), then applies the REAL-WAGE reality (BLS: nominal wages that merely matched inflation are NOT a gain). The pull-ahead beyond real input costs and real wages is the CAPTURE wedge (margin + rentier), which lands in the concentrated middle and flows to capital. Grounds the capture DESTINATION in structural facts (record corporate profit share, rising markups, buybacks, falling farm share). LIAR-KILLED: recipient buckets conserve to the measured increase, real gain <= nominal, neg-control, grounded source, driver conservation. Build: _offc/nx_sov_build_run.elf nx_capture_trace license_tier: ORIGINAL

dependencies 1 imports · 0 importers

nx_syscalls.nx nx_capture_trace.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_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 ↻ gp sys_write ↻ ev_read sys_openat_rd sys_read sys_close sys_exit ↻ pack_recip sys_mmap ↻ ev_read ↻ startswith pint field_count field_k class_idx streq recipient_of_class field_count ↻ field_k ↻ streq ↻ pint ↻ gn sys_write ↻ sys_mmap ↻

structs

none

consts

none

functions

12func gp(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 }
called by 2: print_recipmain calls 1: sys_write
13func gn(v0: i64) -> i64
called by 2: print_recipmain calls 2: sys_writesys_mmap
19func slen(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n }
20func streq(a: *u8, b: *u8) -> i64 { var i: i64 = 0; while a[i] != (0 as u8) { if a[i] != b[i] { return 0 } i = i + 1 } if b[i] != (0 as u8) { return 0 } return 1 }
called by 2: class_idxmain
21func startswith(s: *u8, pfx: *u8) -> i64 { var i: i64 = 0; while pfx[i] != (0 as u8) { if s[i] != pfx[i] { return 0 } i = i + 1 } return 1 }
called by 2: pack_recipmain
22func pint(s: *u8) -> i64 { var v: i64 = 0; var i: i64 = 0; var neg: i64 = 0; if s[0] == (45 as u8) { neg = 1; i = 1 } while s[i] != (0 as u8) { let c: i64 = s[i] as i64; if c >= 48 { if c <= 57 { v = v * 10 + (c - 48) } } i = i + 1 } if neg == 1 { return 0 - v } return v }
called by 2: pack_recipmain
24func ev_read(path: *u8, buf: *u8, cap: i64) -> i64
30func field_count(line: *u8, ln: i64) -> i64 { var n: i64 = 1; var i: i64 = 0; while i < ln { if line[i] == (124 as u8) { n = n + 1 } i = i + 1 } return n }
called by 2: pack_recipmain
31func field_k(line: *u8, ln: i64, kk: i64, dst: *u8, cap: i64) -> i64
called by 2: pack_recipmain
44func class_idx(n: *u8) -> i64
called by 2: pack_recipmain calls 1: streq
56func recipient_of_class(c: i64) -> i64
called by 2: pack_recipmain
68func recip_name(i: i64) -> *u8
called by 1: print_recip
79func pack_recip(good: *u8, recip: *i64, out: *i64) -> i64
133func print_recip(r: *i64, total: i64) -> i64
called by 1: main calls 4: sys_mmapgprecip_namegn
150func main() -> i64