pub struct FusionStats { /* private fields */ }Expand description
Runtime-lifetime counters of fusion decisions, decline reasons and JIT admissions.
Implementations§
Source§impl FusionStats
impl FusionStats
Sourcepub const fn examined_node_count(self) -> u64
pub const fn examined_node_count(self) -> u64
Return nodes offered to the elementwise fusion pass.
Every examined node is counted in exactly one node outcome below, so
this equals the sum of the *_node_count outcomes other than
FusionStats::structural_node_count.
Sourcepub const fn disabled_node_count(self) -> u64
pub const fn disabled_node_count(self) -> u64
Return nodes seen while elementwise fusion was disabled or unavailable.
Sourcepub const fn not_elementwise_node_count(self) -> u64
pub const fn not_elementwise_node_count(self) -> u64
Return nodes outside the fusible elementwise vocabulary.
Includes nodes already replaced by a dedicated structural kernel.
Sourcepub const fn policy_excluded_node_count(self) -> u64
pub const fn policy_excluded_node_count(self) -> u64
Return elementwise nodes excluded by the RL fusion opt-out.
Sourcepub const fn hazard_node_count(self) -> u64
pub const fn hazard_node_count(self) -> u64
Return elementwise nodes whose output is aliased or multiply written.
Sourcepub const fn isolated_node_count(self) -> u64
pub const fn isolated_node_count(self) -> u64
Return elementwise nodes with no admissible elementwise neighbour.
Sourcepub const fn extent_boundary_node_count(self) -> u64
pub const fn extent_boundary_node_count(self) -> u64
Return elementwise nodes separated from neighbours by element count.
Sourcepub const fn cross_invocation_node_count(self) -> u64
pub const fn cross_invocation_node_count(self) -> u64
Return nodes left unfused because a gather or broadcast read needs a materialized producer.
Sourcepub const fn program_rejected_node_count(self) -> u64
pub const fn program_rejected_node_count(self) -> u64
Return nodes whose candidate program failed construction or validation.
Sourcepub const fn foreign_device_node_count(self) -> u64
pub const fn foreign_device_node_count(self) -> u64
Return nodes whose buffers belong to another device.
Sourcepub const fn tape_bound_node_count(self) -> u64
pub const fn tape_bound_node_count(self) -> u64
Return nodes above the tape element bound while specialization is off.
Sourcepub const fn tape_capacity_node_count(self) -> u64
pub const fn tape_capacity_node_count(self) -> u64
Return nodes rejected by tape register, operand, store or step capacity.
Sourcepub const fn resource_node_count(self) -> u64
pub const fn resource_node_count(self) -> u64
Return nodes left unfused because fusion storage was unavailable.
Sourcepub const fn specialization_declined_node_count(self) -> u64
pub const fn specialization_declined_node_count(self) -> u64
Return nodes above the tape element bound that specialization declined.
Sourcepub const fn tape_fused_node_count(self) -> u64
pub const fn tape_fused_node_count(self) -> u64
Return nodes fused into tape-interpreter dispatches.
Sourcepub const fn specialized_fused_node_count(self) -> u64
pub const fn specialized_fused_node_count(self) -> u64
Return nodes fused into specialized dispatches.
Sourcepub const fn pass_count(self) -> u64
pub const fn pass_count(self) -> u64
Return completed elementwise fusion passes.
Eager work is fused once per flush and captured work once per capture; plan replay does not run fusion.
Sourcepub const fn structural_region_count(self) -> u64
pub const fn structural_region_count(self) -> u64
Return dedicated structural replacements made before elementwise fusion.
Sourcepub const fn structural_node_count(self) -> u64
pub const fn structural_node_count(self) -> u64
Return source nodes absorbed by dedicated structural replacements.
Sourcepub const fn tape_region_count(self) -> u64
pub const fn tape_region_count(self) -> u64
Return fused tape-interpreter dispatches created.
Sourcepub const fn specialized_region_count(self) -> u64
pub const fn specialized_region_count(self) -> u64
Return fused specialized dispatches created.
Sourcepub const fn jit_disabled_count(self) -> u64
pub const fn jit_disabled_count(self) -> u64
Return specialization requests made while OA_JIT_FUSION was unset.
Sourcepub const fn jit_admitted_count(self) -> u64
pub const fn jit_admitted_count(self) -> u64
Return requests that admitted a new specialized pipeline.
Sourcepub const fn jit_reused_count(self) -> u64
pub const fn jit_reused_count(self) -> u64
Return requests that reused an admitted specialized pipeline.
Sourcepub const fn jit_policy_tape_count(self) -> u64
pub const fn jit_policy_tape_count(self) -> u64
Return requests where measured route policy selected the tape route.
Sourcepub const fn jit_cached_negative_count(self) -> u64
pub const fn jit_cached_negative_count(self) -> u64
Return requests for a program that already failed admission.
Sourcepub const fn jit_bound_count(self) -> u64
pub const fn jit_bound_count(self) -> u64
Return requests declined because the admission table is full.
Return requests declined because the runtime compiler is unavailable.
Sourcepub const fn jit_compile_rejected_count(self) -> u64
pub const fn jit_compile_rejected_count(self) -> u64
Return requests rejected by compilation, validation or ABI reflection.
Sourcepub const fn jit_pipeline_rejected_count(self) -> u64
pub const fn jit_pipeline_rejected_count(self) -> u64
Return requests rejected during pipeline preparation.
Sourcepub const fn jit_queued_count(self) -> u64
pub const fn jit_queued_count(self) -> u64
Return programs accepted onto the background compile queue.
Sourcepub const fn jit_pending_count(self) -> u64
pub const fn jit_pending_count(self) -> u64
Return requests that found a background compile still in flight.
Sourcepub const fn jit_compile_count(self) -> u64
pub const fn jit_compile_count(self) -> u64
Return runtime compiler invocations, excluding restored artifacts.
Sourcepub const fn jit_compile_ns(self) -> u64
pub const fn jit_compile_ns(self) -> u64
Return host wall time spent in runtime compilation, in nanoseconds.
Sourcepub const fn jit_pipeline_ns(self) -> u64
pub const fn jit_pipeline_ns(self) -> u64
Return host wall time spent creating specialized pipelines, in nanoseconds.
Sourcepub const fn dnn_applied_partition_count(self) -> u64
pub const fn dnn_applied_partition_count(self) -> u64
Return captured-plan DNN partitions replaced by a provider route.
Sourcepub const fn dnn_fallback_partition_count(self) -> u64
pub const fn dnn_fallback_partition_count(self) -> u64
Return captured-plan DNN partitions retained on their source route.
Trait Implementations§
Source§impl Clone for FusionStats
impl Clone for FusionStats
impl Copy for FusionStats
Source§impl Debug for FusionStats
impl Debug for FusionStats
Source§impl Default for FusionStats
impl Default for FusionStats
Source§impl Display for FusionStats
Stable space-separated key=value record in declaration order.
impl Display for FusionStats
Stable space-separated key=value record in declaration order.