pub struct ConditionedCircuitWitness {
pub preparation_compiles: u64,
pub materializations: u64,
pub disk_cache_restores: u64,
pub gpu_cache_hits: u64,
pub circuit_generation: u64,
pub cache_slot: u32,
}Expand description
Authoritative identity and preparation count for one conditioned circuit.
circuit_generation is process-local and opaque. Together with cache_slot
it identifies the exact state and device-cache handle retained by a prepared
program; callers should compare values only within that handle’s lifetime.
Fields§
§preparation_compiles: u64Actual GPU circuit-compiler invocations performed while preparing this handle.
materializations: u64Successful exact-circuit materializations performed while preparing this handle.
disk_cache_restores: u64Verified disk-cache restorations used while preparing this handle.
gpu_cache_hits: u64GPU circuit-cache hits used while preparing this handle.
circuit_generation: u64Opaque process-local generation assigned to the retained exact state.
cache_slot: u32Device-cache slot retained by the exact state.
Trait Implementations§
Source§impl Clone for ConditionedCircuitWitness
impl Clone for ConditionedCircuitWitness
Source§fn clone(&self) -> ConditionedCircuitWitness
fn clone(&self) -> ConditionedCircuitWitness
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ConditionedCircuitWitness
Source§impl Debug for ConditionedCircuitWitness
impl Debug for ConditionedCircuitWitness
impl Eq for ConditionedCircuitWitness
Source§impl PartialEq for ConditionedCircuitWitness
impl PartialEq for ConditionedCircuitWitness
Source§fn eq(&self, other: &ConditionedCircuitWitness) -> bool
fn eq(&self, other: &ConditionedCircuitWitness) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ConditionedCircuitWitness
Auto Trait Implementations§
impl Freeze for ConditionedCircuitWitness
impl RefUnwindSafe for ConditionedCircuitWitness
impl Send for ConditionedCircuitWitness
impl Sync for ConditionedCircuitWitness
impl Unpin for ConditionedCircuitWitness
impl UnsafeUnpin for ConditionedCircuitWitness
impl UnwindSafe for ConditionedCircuitWitness
Blanket Implementations§
impl<T> Allocation for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more