Struct intel_pstate::PState[][src]

pub struct PState { /* fields omitted */ }
Expand description

Handle for fetching and modifying Intel PState kernel parameters.

Note

  • Currently, ony Linux is supported.
  • Setting parameters will require root permissions.

Implementations

Attempt to fetch a handle to the Intel PState sysfs kernel instance.

Get the minimum performance percent.

Set the minimum performance percent.

Get the maximum performance percent.

Set the maximum performance percent.

If true, this signifies that turbo is disabled.

Set the no_turbo value; true will disable turbo.

Set all values in the given config.

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.