pub struct ExecutionPlanDiagnostics { /* private fields */ }Expand description
Immutable snapshot of execution-plan diagnostics.
Implementations§
Source§impl ExecutionPlanDiagnostics
impl ExecutionPlanDiagnostics
Sourcepub const fn graph_id(self) -> u64
pub const fn graph_id(self) -> u64
Return the deterministic identity of the captured executable structure.
Sourcepub const fn device_capability_identity(self) -> u64
pub const fn device_capability_identity(self) -> u64
Return the stable device/driver/capability identity used to prepare this plan.
Sourcepub const fn node_count(self) -> usize
pub const fn node_count(self) -> usize
Return the number of captured executable nodes.
Sourcepub const fn barrier_count(self) -> usize
pub const fn barrier_count(self) -> usize
Return the number of intra-graph buffer hazards requiring barriers.
Sourcepub const fn semantic_operation_count(self) -> usize
pub const fn semantic_operation_count(self) -> usize
Return the number of canonical semantic operations.
Sourcepub const fn semantic_autograd_attachment_count(self) -> usize
pub const fn semantic_autograd_attachment_count(self) -> usize
Return forward outputs attached to a reverse-mode tape.
Sourcepub const fn semantic_autograd_expanded_count(self) -> usize
pub const fn semantic_autograd_expanded_count(self) -> usize
Return tape attachments with a completed backward operation range.
Sourcepub const fn semantic_backward_operation_count(self) -> usize
pub const fn semantic_backward_operation_count(self) -> usize
Return semantic operations owned by completed backward ranges.
Sourcepub const fn schema_owned_node_count(self) -> usize
pub const fn schema_owned_node_count(self) -> usize
Return executable nodes with schema-owned semantic provenance.
Sourcepub const fn compatibility_node_count(self) -> usize
pub const fn compatibility_node_count(self) -> usize
Return executable nodes still using the compatibility route.
Sourcepub const fn semantic_fused_operation_count(self) -> usize
pub const fn semantic_fused_operation_count(self) -> usize
Return semantic operations represented by multi-operation executable nodes.
Sourcepub const fn semantic_fused_node_count(self) -> usize
pub const fn semantic_fused_node_count(self) -> usize
Return executable nodes that own more than one semantic operation.
Sourcepub const fn maximum_semantic_operations_per_node(self) -> usize
pub const fn maximum_semantic_operations_per_node(self) -> usize
Return the widest semantic fusion represented by one executable node.
Sourcepub const fn dnn_graph_hash(self) -> u64
pub const fn dnn_graph_hash(self) -> u64
Return the deterministic identity of DNN planning inputs.
Sourcepub const fn dnn_value_count(self) -> usize
pub const fn dnn_value_count(self) -> usize
Return semantic values admitted into DNN analysis.
Sourcepub const fn dnn_external_value_count(self) -> usize
pub const fn dnn_external_value_count(self) -> usize
Return DNN values entering from outside captured work.
Sourcepub const fn dnn_virtual_value_count(self) -> usize
pub const fn dnn_virtual_value_count(self) -> usize
Return DNN values reserved for lowering-time materialization.
Sourcepub const fn dnn_partition_count(self) -> usize
pub const fn dnn_partition_count(self) -> usize
Return the number of DNN candidate partitions.
Sourcepub const fn dnn_recognized_partition_count(self) -> u32
pub const fn dnn_recognized_partition_count(self) -> u32
Return partitions recognized by a schema-owned DNN provider role.
Sourcepub const fn dnn_portable_partition_count(self) -> usize
pub const fn dnn_portable_partition_count(self) -> usize
Return partitions retained on the portable executable path.
Sourcepub const fn dnn_captured_operation_count(self) -> u32
pub const fn dnn_captured_operation_count(self) -> u32
Return semantic operations admitted into DNN analysis.
Sourcepub const fn dnn_applied_partition_count(self) -> u32
pub const fn dnn_applied_partition_count(self) -> u32
Return provider-recognized partitions that replaced source executable nodes.
Sourcepub const fn dnn_inherited_partition_count(self) -> u32
pub const fn dnn_inherited_partition_count(self) -> u32
Return recognized single-node partitions already using an admitted provider.
Sourcepub const fn dnn_fallback_partition_count(self) -> u32
pub const fn dnn_fallback_partition_count(self) -> u32
Return recognized partitions deliberately retained on their source lowering.
Sourcepub const fn dnn_unexpected_fallback_count(self) -> u32
pub const fn dnn_unexpected_fallback_count(self) -> u32
Return fallback partitions caused by a violated internal lowering invariant.
Sourcepub const fn input_binding_count(self) -> usize
pub const fn input_binding_count(self) -> usize
Return the number of Matrix inputs admitted for stable rebinding.
Sourcepub const fn captured_resource_count(self) -> usize
pub const fn captured_resource_count(self) -> usize
Return the number of physical resources present in the captured graph.
Sourcepub const fn physical_resource_count(self) -> usize
pub const fn physical_resource_count(self) -> usize
Return the number of distinct physical buffers used after memory planning.
Sourcepub const fn stable_replay_input_count(self) -> usize
pub const fn stable_replay_input_count(self) -> usize
Return captured resources allocated before the replay-input seal.
Sourcepub const fn stable_transient_count(self) -> usize
pub const fn stable_transient_count(self) -> usize
Return captured resources allocated after the replay-input seal.
These resources have stable allocation ordinals and known graph lifetimes, but are not automatically eligible for physical aliasing.
Sourcepub const fn semantic_binding_count(self) -> usize
pub const fn semantic_binding_count(self) -> usize
Return handle-free semantic value-to-resource bindings in the plan.
Sourcepub const fn observed_output_count(self) -> usize
pub const fn observed_output_count(self) -> usize
Return captured resources explicitly retained as observable results.
Sourcepub const fn alias_candidate_count(self) -> usize
pub const fn alias_candidate_count(self) -> usize
Return stable transients whose lifetimes and storage ownership are fully explained and which are not externally live.
Sourcepub const fn alias_materialized_count(self) -> usize
pub const fn alias_materialized_count(self) -> usize
Return logical resources rebound into a graph-lifetime alias arena.
Sourcepub const fn planned_alias_group_count(self) -> usize
pub const fn planned_alias_group_count(self) -> usize
Return the number of nontrivial alias groups found by memory planning.
Sourcepub const fn potential_alias_savings(self) -> usize
pub const fn potential_alias_savings(self) -> usize
Return logical bytes removable if every planned alias group materializes.
Sourcepub const fn materialized_alias_savings(self) -> usize
pub const fn materialized_alias_savings(self) -> usize
Return logical bytes removed by materialized alias arenas.
Sourcepub const fn command_recording_count(self) -> u64
pub const fn command_recording_count(self) -> u64
Return how many Vulkan command buffers were recorded for this plan.
Sourcepub const fn descriptor_write_count(self) -> u64
pub const fn descriptor_write_count(self) -> u64
Return descriptor writes issued while this plan was captured.
On the Core profile binding amortizes at buffer/image creation, so a plan whose inputs were already bound reports zero — the bindless recording-cost fact OA-CC-21 measures.
Sourcepub const fn push_byte_count(self) -> usize
pub const fn push_byte_count(self) -> usize
Return total push-constant bytes recorded per submission of this plan.
Sourcepub const fn peak_memory_bytes(self) -> usize
pub const fn peak_memory_bytes(self) -> usize
Return peak live physical-buffer bytes across the plan’s node order.
Interval sweep over captured resource lifetimes: aliased transients share one physical buffer identity, so the peak counts each live allocation once — the memory-planning number OA-CC-23 minimizes.
Sourcepub const fn cross_queue_edge_count(self) -> usize
pub const fn cross_queue_edge_count(self) -> usize
Derived cross-queue timeline edges: hazards whose source and destination nodes submit to different queue families (OA-CC-22).
Sourcepub const fn ownership_transfer_count(self) -> usize
pub const fn ownership_transfer_count(self) -> usize
Derived queue-family ownership transfers required by cross-queue hazards on exclusive-owned buffers.
Sourcepub const fn queue_run_count(self) -> usize
pub const fn queue_run_count(self) -> usize
Ordered queue runs the plan splits into by resolved queue family (OA-CC-22). One run submits on the compute family today; a mixed plan produces one timeline-chained submission per run.
Sourcepub const fn command_cache_hit_count(self) -> u64
pub const fn command_cache_hit_count(self) -> u64
Return how many submissions reused an already recorded command buffer.
Sourcepub const fn submission_count(self) -> u64
pub const fn submission_count(self) -> u64
Return how many plan submissions completed queue admission.
Sourcepub const fn input_rebinding_count(self) -> u64
pub const fn input_rebinding_count(self) -> u64
Return how many stable Matrix input bindings changed.
Sourcepub const fn input_upload_count(self) -> u64
pub const fn input_upload_count(self) -> u64
Return how many stable Matrix input slots received new host values.
Sourcepub const fn fallback_count(self) -> u64
pub const fn fallback_count(self) -> u64
Return the number of runtime fallback decisions made by this plan.