Struct tikv_jemalloc_ctl::opt::lg_tcache_max[][src]

pub struct lg_tcache_max;
Expand description

Maximum size class (log base 2) to cache in the thread-specific cache (tcache).

At a minimum, all small size classes are cached, and at a maximum all large size classes are cached. The default maximum is 32 KiB (2^15).

Examples

use tikv_jemalloc_ctl::opt;
let lg_tcache_max = opt::lg_tcache_max::read().unwrap();
println!("max cached allocation size: {}", 1 << lg_tcache_max);

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.