Skip to main content

ExecutionPlanDiagnostics

Struct ExecutionPlanDiagnostics 

Source
pub struct ExecutionPlanDiagnostics { /* private fields */ }
Expand description

Immutable snapshot of execution-plan diagnostics.

Implementations§

Source§

impl ExecutionPlanDiagnostics

Source

pub const fn graph_id(self) -> u64

Return the deterministic identity of the captured executable structure.

Source

pub const fn device_capability_identity(self) -> u64

Return the stable device/driver/capability identity used to prepare this plan.

Source

pub const fn node_count(self) -> usize

Return the number of captured executable nodes.

Source

pub const fn barrier_count(self) -> usize

Return the number of intra-graph buffer hazards requiring barriers.

Source

pub const fn semantic_operation_count(self) -> usize

Return the number of canonical semantic operations.

Source

pub const fn semantic_autograd_attachment_count(self) -> usize

Return forward outputs attached to a reverse-mode tape.

Source

pub const fn semantic_autograd_expanded_count(self) -> usize

Return tape attachments with a completed backward operation range.

Source

pub const fn semantic_backward_operation_count(self) -> usize

Return semantic operations owned by completed backward ranges.

Source

pub const fn schema_owned_node_count(self) -> usize

Return executable nodes with schema-owned semantic provenance.

Source

pub const fn compatibility_node_count(self) -> usize

Return executable nodes still using the compatibility route.

Source

pub const fn semantic_fused_operation_count(self) -> usize

Return semantic operations represented by multi-operation executable nodes.

Source

pub const fn semantic_fused_node_count(self) -> usize

Return executable nodes that own more than one semantic operation.

Source

pub const fn maximum_semantic_operations_per_node(self) -> usize

Return the widest semantic fusion represented by one executable node.

Source

pub const fn dnn_graph_hash(self) -> u64

Return the deterministic identity of DNN planning inputs.

Source

pub const fn dnn_value_count(self) -> usize

Return semantic values admitted into DNN analysis.

Source

pub const fn dnn_external_value_count(self) -> usize

Return DNN values entering from outside captured work.

Source

pub const fn dnn_virtual_value_count(self) -> usize

Return DNN values reserved for lowering-time materialization.

Source

pub const fn dnn_partition_count(self) -> usize

Return the number of DNN candidate partitions.

Source

pub const fn dnn_recognized_partition_count(self) -> u32

Return partitions recognized by a schema-owned DNN provider role.

Source

pub const fn dnn_portable_partition_count(self) -> usize

Return partitions retained on the portable executable path.

Source

pub const fn dnn_captured_operation_count(self) -> u32

Return semantic operations admitted into DNN analysis.

Source

pub const fn dnn_applied_partition_count(self) -> u32

Return provider-recognized partitions that replaced source executable nodes.

Source

pub const fn dnn_inherited_partition_count(self) -> u32

Return recognized single-node partitions already using an admitted provider.

Source

pub const fn dnn_fallback_partition_count(self) -> u32

Return recognized partitions deliberately retained on their source lowering.

Source

pub const fn dnn_unexpected_fallback_count(self) -> u32

Return fallback partitions caused by a violated internal lowering invariant.

Source

pub const fn input_binding_count(self) -> usize

Return the number of Matrix inputs admitted for stable rebinding.

Source

pub const fn captured_resource_count(self) -> usize

Return the number of physical resources present in the captured graph.

Source

pub const fn physical_resource_count(self) -> usize

Return the number of distinct physical buffers used after memory planning.

Source

pub const fn stable_replay_input_count(self) -> usize

Return captured resources allocated before the replay-input seal.

Source

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.

Source

pub const fn semantic_binding_count(self) -> usize

Return handle-free semantic value-to-resource bindings in the plan.

Source

pub const fn observed_output_count(self) -> usize

Return captured resources explicitly retained as observable results.

Source

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.

Source

pub const fn alias_materialized_count(self) -> usize

Return logical resources rebound into a graph-lifetime alias arena.

Source

pub const fn planned_alias_group_count(self) -> usize

Return the number of nontrivial alias groups found by memory planning.

Source

pub const fn potential_alias_savings(self) -> usize

Return logical bytes removable if every planned alias group materializes.

Source

pub const fn materialized_alias_savings(self) -> usize

Return logical bytes removed by materialized alias arenas.

Source

pub const fn command_recording_count(self) -> u64

Return how many Vulkan command buffers were recorded for this plan.

Source

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.

Source

pub const fn push_byte_count(self) -> usize

Return total push-constant bytes recorded per submission of this plan.

Source

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.

Source

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).

Source

pub const fn ownership_transfer_count(self) -> usize

Derived queue-family ownership transfers required by cross-queue hazards on exclusive-owned buffers.

Source

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.

Source

pub const fn command_cache_hit_count(self) -> u64

Return how many submissions reused an already recorded command buffer.

Source

pub const fn submission_count(self) -> u64

Return how many plan submissions completed queue admission.

Source

pub const fn input_rebinding_count(self) -> u64

Return how many stable Matrix input bindings changed.

Source

pub const fn input_upload_count(self) -> u64

Return how many stable Matrix input slots received new host values.

Source

pub const fn fallback_count(self) -> u64

Return the number of runtime fallback decisions made by this plan.

Trait Implementations§

Source§

impl Clone for ExecutionPlanDiagnostics

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for ExecutionPlanDiagnostics

Source§

impl Debug for ExecutionPlanDiagnostics

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for ExecutionPlanDiagnostics

Source§

impl PartialEq for ExecutionPlanDiagnostics

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for ExecutionPlanDiagnostics

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<S, T> Duplex<S> for T
where T: FromSample<S> + ToSample<S>,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<S> FromSample<S> for S

Source§

fn from_sample_(s: S) -> S

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<F, T> IntoSample<T> for F
where T: FromSample<F>,

Source§

fn into_sample(self) -> T

Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> ToSample<U> for T
where U: FromSample<T>,

Source§

fn to_sample_(self) -> U

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.