Struct powercap::IntelRapl[][src]

pub struct IntelRapl {
    pub sockets: HashMap<u8, Socket>,
}

Fields

sockets: HashMap<u8, Socket>

Implementations

Returns the sum of energies of the sockets and domains in the IntelRapl folder. The value’s unit is in micro joules.

Trait Implementations

Formats the value using the given formatter. Read more

Creates an IntelRapl instance using the speficied path.

The type returned in the event of a conversion error.

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.