Skip to main content

Module energy_model

Module energy_model 

Source
Expand description

Β§SCX Energy Model

A crate that allows schedulers to inspect and model the host’s energy model, which is loaded from debugfs.

Re-exportsΒ§

use crate::Cpumask; πŸ”’
use crate::compat; πŸ”’
use crate::compat::ROOT_PREFIX; πŸ”’
use crate::misc::read_from_file; πŸ”’
use anyhow::Result; πŸ”’
use anyhow::bail; πŸ”’
use glob::glob; πŸ”’
use num::clamp; πŸ”’
use std::collections::BTreeMap; πŸ”’
use std::fmt; πŸ”’
use std::path::Path; πŸ”’
use std::sync::Arc; πŸ”’

StructsΒ§

EnergyModel
EqPerfDomain
A set of performance domains sharing an identical performance table.
PerfDomain
PerfState

FunctionsΒ§

get_em_root πŸ”’
get_pd_paths πŸ”’
get_ps_paths πŸ”’