code wiki / (root) / nx_bench_emit.nx

nx_bench_emit.nx

buildroot/runtime/nx_bench_emit.nx

2800 B112 linesdepth 6pulls 14 transitivereach 0 importersview sourcekind benchtopic bench
docsdependenciesstructsconstsfunctions

about

bench_emit.nx -- stream workload through OUR primitives, emit numbers to stdout. Used by the cross-implementation harness (bench_vs_ds.sh). Writes key=value lines to stdout that the harness parses and compares against Apache DataSketches output.

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_sketch_hll.nx nx_sketch_cpc_dense.nx nx_bench_emit.nx

imports: nx_syscalls.nxnx_sketch_hll.nxnx_sketch_cpc_dense.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main nx_hll_alloc 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 ↻ nx_cpcd_alloc sys_mmap ↻ sys_mmap ↻ nx_hll_add murmur3_32 mm_load_u32_le mm_rotl32 nx_clz32 nx_bits_clz32 nx_cpcd_add nx_cpcd_coupon_pos murmur3_32 ↻ nx_cpcd_clz32 nx_bits_clz32 ↻ nx_cpcd_bit_get nx_cpcd_bit_set nx_emit_str sys_write ↻ nx_emit_i64 nx_emit_putc sys_mmap ↻ sys_write ↻ nx_emit_i64 ↻

structs

none

consts

none

functions

19func nx_emit_putc(c: i64) -> i64
26func nx_emit_str(s: *u8, len: i64) -> i64
called by 1: main calls 1: sys_write
31func nx_emit_i64(n: i64) -> i64
57func nx_emit_newline() -> i64
called by 1: main calls 1: nx_emit_putc
64func main() -> i64