#[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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.