Skip to main content

Module analyze_wire_edges

Module analyze_wire_edges 

Source
Expand description

analyze_wire_edges — classify each cross-Node edge as data or trigger_only and group sends in the same cycle scope for batching.

Constants§

BATCH_GROUP_KEY
Per-edge batch grouping id stamped by analyze_wire_edges.
DEST_SITE_NAME_PREFIX
Prefix for per-fill destination site names stamped on Send nodes. Used by the lower-network-io pass to derive the partition name on the receive side.
DEST_SUFFIX_ATTR_PREFIX
Prefix for per-fill multiaddr suffixes stamped on Send nodes. Suffixes are keyed dest_suffix.<i> for fill index i.
TRIGGER_DENOTATION
Trigger type denotation; matches <Trigger as WireType>::DENOTATION.
WIRE_TRANSPORT_KEY
Per-edge classification stamped by analyze_wire_edges. Value is WIRE_TRANSPORT_DATA or WIRE_TRANSPORT_TRIGGER_ONLY.

Functions§

analyze_wire_edges
Per-edge classification + per-cycle batching. Pure.
dest_suffix_attr
Look up a per-input dest_suffix.<name> attribute on the given NodeProto. Returns the canonical Address byte encoding stamped by Node’s install-time resolver. Used by the wire syscall to populate each SlotFill.dest_suffix at dispatch time.
dest_suffix_attribute
Per-input dest_suffix.<name> AttributeProto carrying the resolved destination multiaddr suffix.