Struct tikv_jemalloc_ctl::opt::narenas[][src]

pub struct narenas;
Expand description

Maximum number of arenas to use for automatic multiplexing of threads and arenas.

The default is four times the number of CPUs, or one if there is a single CPU.

Examples

use tikv_jemalloc_ctl::opt;
let narenas = opt::narenas::read().unwrap();
println!("number of arenas: {}", narenas);

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.