Template Function sequant::note_fresh_build

Function Documentation

template<meta::can_evaluate Node, typename N, bool FHC>
void sequant::note_fresh_build(Node const &node, CacheManager<N, FHC> &cache)

The per-build event bookkeeping: the SEQUANT_UT_BUILD_METER tally and the schedule-visualizer run event.

The single choke point every freshly computed node passes through &#8212; leaves, custom-eval subtrees and ordinary contractions alike &#8212; so the per-node build coverage the visualizer joins onto the IR DAG is complete. Shared by evaluate_impl's finish_phase_b and by the ordered executor’s detail::compute_cell (ordered_executor.hpp), so both report their builds the same way without re-entering that engine.