code wiki / _hdl_build / nx_perf_panel.nx
nx_perf_panel.nx
buildroot/runtime/_hdl_build/nx_perf_panel.nx
about
nx_perf_panel.nx -- the SPEED/ENERGY #1 meter (operator: be #1 on the energy-efficiency
study measures). Scores perf_panel.tsv verdicts -> perf_rank permil + names the gap to
#1. Verdict in COLUMN 3 (the lang_maturity lm_col gene, debugged): LEAD=1000 (#1-class)
TOP-TIER=700 BEHIND=300 (named gap) MODELED=500 (not yet RAPL-measured).
Durable: PERFDIM + PERFPANEL -> knowledge/status/perf_panel.log. argv[1]=panel.
license_tier: ORIGINAL
dependencies 1 imports · 0 importers
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
structs
| none |
consts
| 8 | const K_MAGIC_262144: i64 = 262144 |
| 9 | const K_MAGIC_262128: i64 = 262128 |
| 10 | const K_MAGIC_9999: i64 = 9999 |
functions
| 11 | func _p(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 12 | func _fp(fd: i64, s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(fd,s,n); return 0 } |
| 13 | func _fn(fd: i64, v: i64) -> i64 { let bb: *u8=sys_mmap(28); var m: i64=v; if m<0{m=0-m}; let t: *u8=sys_mmap(28); var k: i64=0; if m==0{t[0]=48 as u8;k=1}; while m>0{t[k]=(48+(m%10)) as u8;m=m/10;k=k+1}; var i: i64=0; while i<k{bb[i]=t[k-1-i];i=i+1}; sys_write(fd,bb,k); return 0 } |
| 14 | func pp_len(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n } called by 1: pp_has |
| 15 | func pp_read(path: *u8, buf: *u8, cap: i64) -> i64 |
| 24 | func pp_has(hay: *u8, a: i64, b: i64, pat: *u8) -> i64 |
| 37 | func pp_col(buf: *u8, a: i64, b: i64, col: i64, out: *i64) -> i64 called by 1: main |
| 55 | func pp_dim(buf: *u8, a: i64, b: i64, out: *u8) -> i64 called by 1: main |
| 62 | func main(argc: i64, argv: *i64) -> i64 |