pub struct MemoryBreakdown {
pub values_memory: usize,
pub indices_memory: usize,
pub structure_memory: usize,
pub metadata_memory: usize,
}Expand description
Detailed breakdown of memory usage by component
Fields§
§values_memory: usizeMemory used by value storage
indices_memory: usizeMemory used by index storage
structure_memory: usizeMemory used by structural information (row pointers, etc.)
metadata_memory: usizeAdditional metadata memory
Implementations§
Source§impl MemoryBreakdown
impl MemoryBreakdown
Sourcepub fn total_memory(&self) -> usize
pub fn total_memory(&self) -> usize
Calculate total memory usage
Sourcepub fn memory_distribution(&self) -> HashMap<String, f64>
pub fn memory_distribution(&self) -> HashMap<String, f64>
Get memory distribution as percentages
Trait Implementations§
Source§impl Clone for MemoryBreakdown
impl Clone for MemoryBreakdown
Source§impl Debug for MemoryBreakdown
impl Debug for MemoryBreakdown
Auto Trait Implementations§
impl Freeze for MemoryBreakdown
impl RefUnwindSafe for MemoryBreakdown
impl Send for MemoryBreakdown
impl Sync for MemoryBreakdown
impl Unpin for MemoryBreakdown
impl UnsafeUnpin for MemoryBreakdown
impl UnwindSafe for MemoryBreakdown
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more