[][src]Struct rpmalloc_sys::rpmalloc_thread_statistics_t

#[repr(C)]
pub struct rpmalloc_thread_statistics_t {
    pub sizecache: size_t,
    pub spancache: size_t,
    pub thread_to_global: size_t,
    pub global_to_thread: size_t,
    pub span_use: [rpmalloc_thread_span_statistics_t; 32],
    pub size_use: [rpmalloc_thread_size_statistics_t; 128],
}

Fields

sizecache: size_t

Current number of bytes available in thread size class caches for small and medium sizes (<32KiB)

spancache: size_t

Current number of bytes available in thread span caches for small and medium sizes (<32KiB)

thread_to_global: size_t

Total number of bytes transitioned from thread cache to global cache (only if ENABLE_STATISTICS=1)

global_to_thread: size_t

Total number of bytes transitioned from global cache to thread cache (only if ENABLE_STATISTICS=1)

span_use: [rpmalloc_thread_span_statistics_t; 32]

Per span count statistics (only if ENABLE_STATISTICS=1)

size_use: [rpmalloc_thread_size_statistics_t; 128]

Per size class statistics (only if ENABLE_STATISTICS=1)

Trait Implementations

impl Clone for rpmalloc_thread_statistics_t[src]

impl Copy for rpmalloc_thread_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]