pub struct PredictionContextStats {Show 16 fields
pub contexts_created: usize,
pub singleton_contexts: usize,
pub array_contexts: usize,
pub array_entries: usize,
pub interner_hits: usize,
pub pooled_bytes: usize,
pub retained_bytes: usize,
pub context_capacity: usize,
pub array_parent_capacity: usize,
pub array_return_state_capacity: usize,
pub interner_capacity: usize,
pub workspace_merge_cache_entries: usize,
pub workspace_merge_cache_capacity: usize,
pub workspace_entry_capacity: usize,
pub outer_context_cache_hits: usize,
pub outer_context_cache_misses: usize,
}Expand description
Allocation and interning totals for one prediction-context arena.
Fields§
§contexts_created: usize§singleton_contexts: usize§array_contexts: usize§array_entries: usize§interner_hits: usize§pooled_bytes: usize§retained_bytes: usizeElement storage implied by retained capacities, excluding allocator and hash-table control metadata.
context_capacity: usize§array_parent_capacity: usize§array_return_state_capacity: usize§interner_capacity: usize§workspace_merge_cache_entries: usize§workspace_merge_cache_capacity: usize§workspace_entry_capacity: usize§outer_context_cache_hits: usize§outer_context_cache_misses: usizeTrait Implementations§
Source§impl Clone for PredictionContextStats
impl Clone for PredictionContextStats
Source§fn clone(&self) -> PredictionContextStats
fn clone(&self) -> PredictionContextStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PredictionContextStats
Source§impl Debug for PredictionContextStats
impl Debug for PredictionContextStats
Source§impl Default for PredictionContextStats
impl Default for PredictionContextStats
Source§fn default() -> PredictionContextStats
fn default() -> PredictionContextStats
Returns the “default value” for a type. Read more
impl Eq for PredictionContextStats
Source§impl PartialEq for PredictionContextStats
impl PartialEq for PredictionContextStats
impl StructuralPartialEq for PredictionContextStats
Auto Trait Implementations§
impl Freeze for PredictionContextStats
impl RefUnwindSafe for PredictionContextStats
impl Send for PredictionContextStats
impl Sync for PredictionContextStats
impl Unpin for PredictionContextStats
impl UnsafeUnpin for PredictionContextStats
impl UnwindSafe for PredictionContextStats
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