pub struct DiagnosticAggregationPlan {
pub compact_ranges: Vec<DiagnosticCompactRange>,
pub counter_readback_bytes: u64,
pub compact_readback_bytes: u64,
pub host_readback_bytes: u64,
pub raw_candidate_readback_bytes: u64,
pub avoided_readback_bytes: u64,
pub compression_ratio_bps: u32,
pub overflow_records: u64,
pub requires_overflow_flag: bool,
pub requires_device_prefix_scan: bool,
pub final_only_host_readback: bool,
}Expand description
Device diagnostic aggregation plan.
Fields§
§compact_ranges: Vec<DiagnosticCompactRange>Compact readback ranges ordered by shard id.
counter_readback_bytes: u64Total counter/overflow bytes read by the host.
compact_readback_bytes: u64Total compact diagnostic record bytes read by the host.
host_readback_bytes: u64Total host readback bytes after device aggregation.
raw_candidate_readback_bytes: u64Bytes that would have been read by a raw candidate-stream readback.
avoided_readback_bytes: u64Bytes avoided by aggregating on device.
compression_ratio_bps: u32Aggregate compression ratio in basis points.
overflow_records: u64Diagnostics omitted because per-shard caps were reached.
requires_overflow_flag: boolWhether any shard needs a device-side overflow flag.
requires_device_prefix_scan: boolWhether aggregation requires a device-side prefix scan over records.
final_only_host_readback: boolThis plan never requires host participation before final readback.
Trait Implementations§
Source§impl Clone for DiagnosticAggregationPlan
impl Clone for DiagnosticAggregationPlan
Source§fn clone(&self) -> DiagnosticAggregationPlan
fn clone(&self) -> DiagnosticAggregationPlan
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 moreSource§impl Debug for DiagnosticAggregationPlan
impl Debug for DiagnosticAggregationPlan
impl Eq for DiagnosticAggregationPlan
impl StructuralPartialEq for DiagnosticAggregationPlan
Auto Trait Implementations§
impl Freeze for DiagnosticAggregationPlan
impl RefUnwindSafe for DiagnosticAggregationPlan
impl Send for DiagnosticAggregationPlan
impl Sync for DiagnosticAggregationPlan
impl Unpin for DiagnosticAggregationPlan
impl UnsafeUnpin for DiagnosticAggregationPlan
impl UnwindSafe for DiagnosticAggregationPlan
Blanket Implementations§
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.