[][src]Struct rpmalloc_sys::rpmalloc_thread_size_statistics_t

#[repr(C)]
pub struct rpmalloc_thread_size_statistics_t {
    pub alloc_current: size_t,
    pub alloc_peak: size_t,
    pub alloc_total: size_t,
    pub free_total: size_t,
    pub spans_to_cache: size_t,
    pub spans_from_cache: size_t,
    pub spans_from_reserved: size_t,
    pub map_calls: size_t,
}

Fields

alloc_current: size_t

Current number of allocations

alloc_peak: size_t

Peak number of allocations

alloc_total: size_t

Total number of allocations

free_total: size_t

Total number of frees

spans_to_cache: size_t

Number of spans transitioned to cache

spans_from_cache: size_t

Number of spans transitioned from cache

spans_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

impl Clone for rpmalloc_thread_size_statistics_t[src]

impl Copy for rpmalloc_thread_size_statistics_t[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]