#[repr(C)]pub struct rpmalloc_thread_span_statistics_t {
pub current: size_t,
pub peak: size_t,
pub to_global: size_t,
pub from_global: size_t,
pub to_cache: size_t,
pub from_cache: size_t,
pub to_reserved: size_t,
pub from_reserved: size_t,
pub map_calls: size_t,
}
Expand description
Mmemory span statistics for a thread
Fields
current: size_t
Currently used number of spans
peak: size_t
High water mark of spans used
to_global: size_t
Number of spans transitioned to global cache
from_global: size_t
Number of spans transitioned from global cache
to_cache: size_t
Number of spans transitioned to thread cache
from_cache: size_t
Number of spans transitioned from thread cache
to_reserved: size_t
Number of spans transitioned to reserved state
from_reserved: size_t
Number of spans transitioned from reserved state
map_calls: size_t
Number of raw memory map calls (not hitting the reserve spans but resulting in actual OS mmap calls)
Trait Implementations
sourceimpl Clone for rpmalloc_thread_span_statistics_t
impl Clone for rpmalloc_thread_span_statistics_t
sourcefn clone(&self) -> rpmalloc_thread_span_statistics_t
fn clone(&self) -> rpmalloc_thread_span_statistics_t
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for rpmalloc_thread_span_statistics_t
impl Default for rpmalloc_thread_span_statistics_t
sourcefn default() -> rpmalloc_thread_span_statistics_t
fn default() -> rpmalloc_thread_span_statistics_t
Returns the “default value” for a type. Read more
impl Copy for rpmalloc_thread_span_statistics_t
Auto Trait Implementations
impl RefUnwindSafe for rpmalloc_thread_span_statistics_t
impl Send for rpmalloc_thread_span_statistics_t
impl Sync for rpmalloc_thread_span_statistics_t
impl Unpin for rpmalloc_thread_span_statistics_t
impl UnwindSafe for rpmalloc_thread_span_statistics_t
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more