pub struct PaneMemoryStrategyFootprint {
pub strategy: PaneMemoryStrategy,
pub retained_unit_count: usize,
pub retained_node_count: usize,
pub node_struct_bytes: usize,
pub leaf_payload_bytes: usize,
pub extension_payload_bytes: usize,
pub operation_payload_bytes: usize,
pub state_hash_overhead_bytes: usize,
pub container_and_metadata_bytes: usize,
pub total_retained_bytes: usize,
pub dominant_driver: PaneMemoryDriver,
}Expand description
Retained-memory footprint of one strategy, decomposed by retained-state class.
total_retained_bytes is authoritative; the per-class fields sum to it
exactly (the last class, container_and_metadata_bytes, absorbs the
remainder so the decomposition is always faithful).
Fields§
§strategy: PaneMemoryStrategyWhich strategy this footprint describes.
retained_unit_count: usizeCount of retained heavy units: live tree (1) for baseline, retained
snapshots (baseline + checkpoints) for checkpointed, versions for
persistent.
retained_node_count: usizeTotal retained tree nodes (logical for checkpointed snapshots; physically distinct for the persistent store).
node_struct_bytes: usizeTree node struct bytes.
leaf_payload_bytes: usizeLeaf surface-key payload bytes.
extension_payload_bytes: usizeNode + leaf extension-map payload bytes.
operation_payload_bytes: usizeOperation-log entry struct + operation heap payload bytes (0 unless
checkpointed).
state_hash_overhead_bytes: usizePer-entry before/after state-hash bytes (0 unless checkpointed).
container_and_metadata_bytes: usizeContainer struct plus version/checkpoint metadata bytes (remainder).
total_retained_bytes: usizeAuthoritative total retained bytes.
dominant_driver: PaneMemoryDriverThe single largest retained-state class.
Trait Implementations§
Source§impl Clone for PaneMemoryStrategyFootprint
impl Clone for PaneMemoryStrategyFootprint
Source§fn clone(&self) -> PaneMemoryStrategyFootprint
fn clone(&self) -> PaneMemoryStrategyFootprint
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for PaneMemoryStrategyFootprint
Source§impl Debug for PaneMemoryStrategyFootprint
impl Debug for PaneMemoryStrategyFootprint
Source§impl PartialEq for PaneMemoryStrategyFootprint
impl PartialEq for PaneMemoryStrategyFootprint
Source§fn eq(&self, other: &PaneMemoryStrategyFootprint) -> bool
fn eq(&self, other: &PaneMemoryStrategyFootprint) -> bool
self and other values to be equal, and is used by ==.