code wiki / _hdl_build / nx_viz_chart.nx

nx_viz_chart.nx

buildroot/runtime/_hdl_build/nx_viz_chart.nx

6463 B111 linesdepth 5pulls 6 transitivereach 0 importersview sourcekind tooltopic viz
docsdependenciesstructsconstsfunctions

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

nx_viz_axis.nx nx_syscalls.nx nx_viz_chart.nx

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

main sys_mmap sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close cw sys_write vsh_lit vsh_n sys_mmap ↻ va_axis_left sys_mmap ↻ vs_ticks vs_linear vsh_lit ↻ vsh_n ↻ vs_linear ↻ sys_openat_wr sys_write ↻ sys_close ↻

structs

none

consts

8const K_MAGIC_2048: i64 = 2048
9const K_MAGIC_131072: i64 = 131072
10const K_MAGIC_8192: i64 = 8192

functions

12func 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 }
called by 1: main calls 1: sys_write
14func main(argc: i64, argv: *i64) -> i64