code wiki / _hdl_build / _ixprof.nx

_ixprof.nx

buildroot/runtime/_hdl_build/_ixprof.nx

4040 B126 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind tool
docsdependenciesstructsconstsfunctions

about

_ixprof.nx -- one-shot index-phase profiler for the IM6b index loss (localize-before-optimizing law). Builds the same writer the race worker builds, then times ss_build_keys / ss_build_terms / full ss_commit separately. license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_seg_store.nx _ixprof.nx

imports: nx_syscalls.nxnx_seg_store.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 xp_parse sys_mmap ↻ ss_readall sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close ss_begin ss_begin_cap sys_mmap ↻ sys_now_us sys_mmap ↻ sys_clock_gettime_mono ss_cat ss_catn sys_mmap ↻ ss_add ss_add2 ss_w32 ss_len ss_build_keys sys_mmap ↻ ss_r32 ss_kcmp ss_w32 ↻ ss_build_terms sys_mmap ↻ ss_tok_table ss_r32 ↻ ss_tok_next2 ss_u8cp ss_fold_cp ss_fold_word_cp ss_is_cjk ss_fnv ss_kcmp ↻ ss_w32 ↻

structs

none

consts

none

functions

8func xp_p(s: *u8) -> i64
called by 1: main calls 1: sys_write
15func xp_pn(v: i64) -> i64
called by 1: main calls 2: sys_mmapsys_write
29func xp_parse(path: *u8, pool: *u8, pooloff: *i64, ptrs: *i64, lens: *i64, n0: i64) -> i64
called by 1: main calls 2: sys_mmapss_readall
76func main() -> i64