Struct tikv_jemalloc_ctl::opt::tcache[][src]

pub struct tcache;
Expand description

Thread-local allocation caching behavior.

Thread-specific caching allows many allocations to be satisfied without performing any thread synchronization, at the cost of increased memory use. This is enabled by default.

Examples

use tikv_jemalloc_ctl::opt;
let tcache = opt::tcache::read().unwrap();
println!("thread-local caching: {}", tcache);

Implementations

Returns Management Information Base (MIB)

This value can be used to access the key without doing string lookup.

Key [::keys::Name].

Reads value using string API.

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

Performs the conversion.

Performs the conversion.

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.