code wiki / _hdl_build / nx_viz_chart.nx
nx_viz_chart.nx
buildroot/runtime/_hdl_build/nx_viz_chart.nx
about
nx_viz_chart.nx -- COMPOSED live chart: the measured-build loop as a bar chart, rendered BY the suite itself
(bar heights from nx_viz_scale vs_linear, the y-axis from nx_viz_axis va_axis_left, the SVG from nx_viz_shape's
serializer), data-driven from viz_loop_history.tsv. Writes a self-contained HTML page (inline SVG, no d3.js,
no CDN) for the wiki. Re-run after any new layer to refresh -> autonomous. usage: nx_viz_chart [in.tsv] [out.html]
license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_viz_axis.nxnx_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_2048: i64 = 2048 |
| 9 | const K_MAGIC_131072: i64 = 131072 |
| 10 | const K_MAGIC_8192: i64 = 8192 |
functions
| 12 | func cw(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 } |
| 14 | func main(argc: i64, argv: *i64) -> i64 |