Skip to main content

MemoryApplierDebugStats

Struct MemoryApplierDebugStats 

Source
pub struct MemoryApplierDebugStats {
Show 21 fields pub next_stable_id: NodeId, pub nodes_len: usize, pub nodes_cap: usize, pub physical_stable_ids_len: usize, pub physical_stable_ids_cap: usize, pub stable_to_physical_len: usize, pub stable_to_physical_cap: usize, pub stable_generations_len: usize, pub stable_generations_cap: usize, pub free_ids_len: usize, pub free_ids_cap: usize, pub high_id_nodes_len: usize, pub high_id_nodes_cap: usize, pub high_id_generations_len: usize, pub high_id_generations_cap: usize, pub recycled_type_count: usize, pub recycled_type_cap: usize, pub recycled_node_count: usize, pub recycled_node_capacity: usize, pub warm_recycled_node_id_count: usize, pub warm_recycled_node_id_capacity: usize,
}
Expand description

Sizes of a MemoryApplier’s tables, for leak and memory checks. A _len field counts entries and a _cap field the capacity reserved.

Fields§

§next_stable_id: NodeId

The id that the next created node gets.

§nodes_len: usize

Live nodes.

§nodes_cap: usize

Slots in the dense node table, both live and free.

§physical_stable_ids_len: usize

Entries in the table that gives each slot its stable id.

§physical_stable_ids_cap: usize

Capacity reserved for the stable ids of table slots.

§stable_to_physical_len: usize

Live entries in the index from stable ids to table slots.

§stable_to_physical_cap: usize

Capacity reserved for the index from stable ids to table slots.

§stable_generations_len: usize

Stable ids that carry a generation counter.

§stable_generations_cap: usize

Capacity reserved for the generation counters of stable ids.

§free_ids_len: usize

Dense table slots free for reuse.

§free_ids_cap: usize

Capacity reserved for the free slot ids.

§high_id_nodes_len: usize

Nodes stored under ids too high for the dense table.

§high_id_nodes_cap: usize

Capacity reserved for the high-id nodes.

§high_id_generations_len: usize

Generation counters kept for high-id nodes.

§high_id_generations_cap: usize

Capacity reserved for the generations of high-id nodes.

§recycled_type_count: usize

Node types that have recycled nodes pooled.

§recycled_type_cap: usize

Capacity reserved for the pools of recycled nodes.

§recycled_node_count: usize

Pooled recycled nodes of all types.

§recycled_node_capacity: usize

Capacity reserved for the pooled recycled nodes.

§warm_recycled_node_id_count: usize

Nodes recycled through the warm path, both live and pooled.

§warm_recycled_node_id_capacity: usize

Capacity reserved for the warm recycled nodes.

Trait Implementations§

Source§

impl Clone for MemoryApplierDebugStats

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for MemoryApplierDebugStats

Source§

impl Debug for MemoryApplierDebugStats

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for MemoryApplierDebugStats

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Eq for MemoryApplierDebugStats

Source§

impl PartialEq for MemoryApplierDebugStats

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for MemoryApplierDebugStats

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.