[][src]Struct rpmalloc_sys::rpmalloc_global_statistics_t

#[repr(C)]pub struct rpmalloc_global_statistics_t {
    pub mapped: size_t,
    pub mapped_peak: size_t,
    pub cached: size_t,
    pub huge_alloc: size_t,
    pub huge_alloc_peak: size_t,
    pub mapped_total: size_t,
    pub unmapped_total: size_t,
}

Global memory statistics

Fields

mapped: size_t

Current amount of virtual memory mapped, all of which might not have been committed (only if ENABLE_STATISTICS=1)

mapped_peak: size_t

Peak amount of virtual memory mapped, all of which might not have been committed (only if ENABLE_STATISTICS=1)

cached: size_t

Current amount of memory in global caches for small and medium sizes (<32KiB)

huge_alloc: size_t

Current amount of memory allocated in huge allocations, i.e larger than LARGE_SIZE_LIMIT which is 2MiB by default (only if ENABLE_STATISTICS=1)

huge_alloc_peak: size_t

Peak amount of memory allocated in huge allocations, i.e larger than LARGE_SIZE_LIMIT which is 2MiB by default (only if ENABLE_STATISTICS=1)

mapped_total: size_t

Total amount of memory mapped since initialization (only if ENABLE_STATISTICS=1)

unmapped_total: size_t

Total amount of memory unmapped since initialization (only if ENABLE_STATISTICS=1)

Trait Implementations

impl Clone for rpmalloc_global_statistics_t[src]

impl Copy for rpmalloc_global_statistics_t[src]

impl Debug for rpmalloc_global_statistics_t[src]

impl Default for rpmalloc_global_statistics_t[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<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.