Skip to main content

StatsSnapshot

Struct StatsSnapshot 

Source
pub struct StatsSnapshot {
Show 79 fields pub reserved_bytes: usize, pub committed_bytes: usize, pub empty_dedicated_committed_bytes: usize, pub discarded_bytes: usize, pub requested_live_bytes: usize, pub usable_live_bytes: usize, pub metadata_bytes: usize, pub green_spans: usize, pub white_spans: usize, pub red_spans: usize, pub black_spans: usize, pub empty_black_spans: usize, pub young_spans: usize, pub sealed_black_spans: usize, pub sealed_hole_bytes: usize, pub local_free_spans: usize, pub splits: u64, pub merges: u64, pub steals: u64, pub empty_black_reclaims: u64, pub cas_failures: u64, pub random_jumps: u64, pub cohort_promotions: u64, pub cohort_recycles: u64, pub global_candidate_probes: u64, pub jump_successes: u64, pub post_jump_probes: u64, pub locality_probes: u64, pub locality_hits: u64, pub global_searches: u64, pub topology_snapshot_publishes: u64, pub reserved_span_activations: u64, pub territory_extensions: u64, pub territory_extension_spans: u64, pub reserved_run_activations: u64, pub run_territory_extensions: u64, pub run_territory_extension_extents: u64, pub run_local_window_refills: u64, pub run_local_window_hits: u64, pub run_local_window_releases: u64, pub tree_root_replacements: u64, pub tree_root_collapses: u64, pub tree_leaf_splits: u64, pub tree_parent_inserts: u64, pub tree_internal_splits: u64, pub tree_logical_removes: u64, pub tree_leaf_upserts: u64, pub tree_redirects: u64, pub tree_cross_parent_redirects: u64, pub tree_internal_redirects: u64, pub tree_internal_redistributions: u64, pub tree_parent_cleanups: u64, pub tree_batch_replacements: u64, pub tree_help_calls: u64, pub tree_operation_aborts: u64, pub tree_candidate_discards: u64, pub tree_node_slots: usize, pub tree_live_nodes: usize, pub tree_retired_nodes: u64, pub tree_reused_nodes: u64, pub tree_node_object_slots: usize, pub tree_live_node_objects: usize, pub tree_reused_node_objects: u64, pub span_descriptor_slots: usize, pub live_span_descriptors: usize, pub reused_span_descriptors: u64, pub bitmap_slots: usize, pub live_bitmaps: usize, pub reused_bitmaps: u64, pub payload_vector_slots: usize, pub live_payload_vectors: usize, pub reused_payload_vectors: u64, pub tree_metadata_blocks: usize, pub tree_metadata_reserved_bytes: usize, pub remote_batches_drained: u64, pub remote_blocks_drained: u64, pub decommits: u64, pub discards: u64, pub chunk_releases: u64,
}

Fields§

§reserved_bytes: usize§committed_bytes: usize§empty_dedicated_committed_bytes: usize

Committed bytes in empty dedicated reservations retained for fast reuse.

§discarded_bytes: usize

Bytes whose obsolete contents were offered back to the OS while their committed virtual address ranges remain retained for reuse.

§requested_live_bytes: usize§usable_live_bytes: usize§metadata_bytes: usize§green_spans: usize§white_spans: usize§red_spans: usize§black_spans: usize§empty_black_spans: usize

Empty Small spans that are still owned and therefore appear Black to a foreign allocator until a slow-path transfer succeeds.

§young_spans: usize§sealed_black_spans: usize§sealed_hole_bytes: usize§local_free_spans: usize§splits: u64§merges: u64§steals: u64§empty_black_reclaims: u64

Cross-owner transfers of completely empty active Small spans.

§cas_failures: u64§random_jumps: u64§cohort_promotions: u64§cohort_recycles: u64§global_candidate_probes: u64

Number of class-matching descriptors inspected by whole-class searches.

§jump_successes: u64

Searches that obtained an allocation after taking at least one random jump.

§post_jump_probes: u64

Candidate probes performed after a jump changed the scan origin.

§locality_probes: u64§locality_hits: u64§global_searches: u64§topology_snapshot_publishes: u64§reserved_span_activations: u64§territory_extensions: u64§territory_extension_spans: u64§reserved_run_activations: u64§run_territory_extensions: u64§run_territory_extension_extents: u64§run_local_window_refills: u64§run_local_window_hits: u64§run_local_window_releases: u64§tree_root_replacements: u64§tree_root_collapses: u64§tree_leaf_splits: u64§tree_parent_inserts: u64§tree_internal_splits: u64§tree_logical_removes: u64§tree_leaf_upserts: u64§tree_redirects: u64§tree_cross_parent_redirects: u64§tree_internal_redirects: u64§tree_internal_redistributions: u64§tree_parent_cleanups: u64§tree_batch_replacements: u64§tree_help_calls: u64§tree_operation_aborts: u64§tree_candidate_discards: u64§tree_node_slots: usize§tree_live_nodes: usize§tree_retired_nodes: u64§tree_reused_nodes: u64§tree_node_object_slots: usize§tree_live_node_objects: usize§tree_reused_node_objects: u64§span_descriptor_slots: usize§live_span_descriptors: usize§reused_span_descriptors: u64§bitmap_slots: usize§live_bitmaps: usize§reused_bitmaps: u64§payload_vector_slots: usize§live_payload_vectors: usize§reused_payload_vectors: u64§tree_metadata_blocks: usize§tree_metadata_reserved_bytes: usize§remote_batches_drained: u64§remote_blocks_drained: u64§decommits: u64§discards: u64§chunk_releases: u64

Trait Implementations§

Source§

impl Clone for StatsSnapshot

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 StatsSnapshot

Source§

impl Debug for StatsSnapshot

Source§

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

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

impl Default for StatsSnapshot

Source§

fn default() -> Self

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

impl Eq for StatsSnapshot

Source§

impl PartialEq for StatsSnapshot

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 StatsSnapshot

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<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> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
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.