pub struct MemPoolStats {
pub pool_size: u32,
pub num_blocks_requested: u32,
pub check_err_ctr: u32,
pub num_free_bytes: u32,
pub block_stats: [BlockStats; 17],
}Expand description
Statistics about a cFE memory pool.
Fields§
§pool_size: u32Total size of the memory pool in bytes.
num_blocks_requested: u32Number of times a memory block has been allocated.
check_err_ctr: u32Number of errors detected when freeing a memory block.
num_free_bytes: u32Number of bytes never allocated to a block.
block_stats: [BlockStats; 17]Statistics for each available block size.
Trait Implementations§
Source§impl Clone for MemPoolStats
impl Clone for MemPoolStats
Source§fn clone(&self) -> MemPoolStats
fn clone(&self) -> MemPoolStats
Returns a duplicate of the value. Read more
1.0.0 · 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 MemPoolStats
impl Debug for MemPoolStats
impl Copy for MemPoolStats
Auto Trait Implementations§
impl Freeze for MemPoolStats
impl RefUnwindSafe for MemPoolStats
impl Send for MemPoolStats
impl Sync for MemPoolStats
impl Unpin for MemPoolStats
impl UnsafeUnpin for MemPoolStats
impl UnwindSafe for MemPoolStats
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