Skip to main content

Module cpu_order

Module cpu_order 

Source

Re-exportsยง

use anyhow::Result; ๐Ÿ”’
use anyhow::anyhow; ๐Ÿ”’
use itertools::Itertools; ๐Ÿ”’
use itertools::iproduct; ๐Ÿ”’
use scx_utils::CoreType; ๐Ÿ”’
use scx_utils::Cpumask; ๐Ÿ”’
use scx_utils::EnergyModel; ๐Ÿ”’
use scx_utils::NR_CPU_IDS; ๐Ÿ”’
use scx_utils::PerfDomain; ๐Ÿ”’
use scx_utils::PerfState; ๐Ÿ”’
use scx_utils::Topology; ๐Ÿ”’
use std::cell::Cell; ๐Ÿ”’
use std::cell::RefCell; ๐Ÿ”’
use std::collections::BTreeMap; ๐Ÿ”’
use std::collections::BTreeSet; ๐Ÿ”’
use std::collections::HashSet; ๐Ÿ”’
use std::fmt; ๐Ÿ”’
use std::hash::Hash; ๐Ÿ”’
use std::hash::Hash; ๐Ÿ”’
use std::hash::Hasher; ๐Ÿ”’
use tracing::debug; ๐Ÿ”’
use tracing::warn; ๐Ÿ”’

Structsยง

ComputeDomain
ComputeDomainId
CpuId
CpuOrder
CpuOrderCtx ๐Ÿ”’
CpuOrderCtx is a helper struct used to build a CpuOrder
EnergyModelOptimizer ๐Ÿ”’
PDCpu ๐Ÿ”’
PDS ๐Ÿ”’
PDSetInfo ๐Ÿ”’
PerfCpuOrder

Constantsยง

CPU_UNIT ๐Ÿ”’
LOOKAHEAD_CNT ๐Ÿ”’
MAX_EQPD_COMBINATIONS ๐Ÿ”’
Upper bound on the number of equivalence performance domain combinations to consider, to keep the number of combinations manageable. The performance domains of a processor may not collapse into a few equivalence performance domains โ€“ per-core binning, for one, could give every core its own performance table. See https://github.com/sched-ext/scx/issues/3340.
PD_UNIT ๐Ÿ”’