code wiki / (root) / nx_dual_real_llm_emit_test.nx

nx_dual_real_llm_emit_test.nx

buildroot/runtime/nx_dual_real_llm_emit_test.nx

5650 B141 linesdepth 11pulls 45 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_dual_real_llm_emit_test.nx -- two concurrent v2 LLM actors driving REAL transformer forward, with wall-clock measurement AND stdout TSV emission so operators see the actual numbers the substrate produces. Same workload as nx_dual_real_llm_compose_test (5 iterations per actor, 2 actors interleaved cooperatively). Adds: * Wall-clock measurement around the workload * stdout TSV header + data row labeled "dual_real_v2_5iter" * stdout wallclock_elapsed_us line Substrate ships numbers; smoke driver shows PASS; operator reads the stdout to see real measurement.

dependencies 12 imports · 0 importers

nx_syscalls.nx nx_tier.nx nx_clock.nx nx_actor.nx nx_message.nx nx_stream_multiplexer.nx nx_session.nx nx_bench_companion.nx nx_bench_companion_timed.nx nx_bench_companion_tsv.nx nx_dual_real_llm_emit_test.nx

diagram shows first 10 each side; +2 more imports, +0 more importers in the complete lists below.

imports: nx_syscalls.nxnx_tier.nxnx_clock.nxnx_actor.nxnx_message.nxnx_stream_multiplexer.nxnx_session.nxnx_bench_companion.nxnx_bench_companion_timed.nxnx_bench_companion_tsv.nxnx_gguf_fixture_tiny.nxnx_actor_role_llm_v2.nx

imported by: nobody (leaf or entry point)

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

main nx_gft_build_tiny_llama sys_mmap nx_le_write_u64 nx_le_write_u32 _gft_mk_blk_name _gft_write_ti nx_le_write_u64 ↻ nx_le_write_u32 ↻ nx_gguf_parse nx_le_read_u32 nx_le_read_u64 nx_le_read_u32 ↻ _gguf_skip_value nx_le_read_u64 ↻ nx_le_read_u32 ↻ _gguf_skip_value ↻ sys_mmap ↻ nx_model_spec_new sys_mmap ↻ nx_model_spec_validate nx_norm_is_valid nx_act_is_valid nx_pos_is_valid nx_ffn_is_valid nx_bpe_vocab_new sys_mmap ↻ nx_intern_new nx_intern_next_pow2 nx_hash_new nx_bpe_add_token nx_intern_get nx_hash_fnv1a_bytes nx_hash_get nx_hash_probe nx_hash_fnv1a_i64 nx_intern_bytes_eq nx_hash_put nx_hash_probe ↻ nx_prng_init

structs

none

consts

none

functions

27func _emit_dec_i64(fd: i64, n: i64) -> i64
called by 1: main calls 2: sys_mmapsys_write
49func main() -> i64