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: NodeIdThe id that the next created node gets.
nodes_len: usizeLive nodes.
nodes_cap: usizeSlots in the dense node table, both live and free.
physical_stable_ids_len: usizeEntries in the table that gives each slot its stable id.
physical_stable_ids_cap: usizeCapacity reserved for the stable ids of table slots.
stable_to_physical_len: usizeLive entries in the index from stable ids to table slots.
stable_to_physical_cap: usizeCapacity reserved for the index from stable ids to table slots.
stable_generations_len: usizeStable ids that carry a generation counter.
stable_generations_cap: usizeCapacity reserved for the generation counters of stable ids.
free_ids_len: usizeDense table slots free for reuse.
free_ids_cap: usizeCapacity reserved for the free slot ids.
high_id_nodes_len: usizeNodes stored under ids too high for the dense table.
high_id_nodes_cap: usizeCapacity reserved for the high-id nodes.
high_id_generations_len: usizeGeneration counters kept for high-id nodes.
high_id_generations_cap: usizeCapacity reserved for the generations of high-id nodes.
recycled_type_count: usizeNode types that have recycled nodes pooled.
recycled_type_cap: usizeCapacity reserved for the pools of recycled nodes.
recycled_node_count: usizePooled recycled nodes of all types.
recycled_node_capacity: usizeCapacity reserved for the pooled recycled nodes.
warm_recycled_node_id_count: usizeNodes recycled through the warm path, both live and pooled.
warm_recycled_node_id_capacity: usizeCapacity reserved for the warm recycled nodes.