Crate resctrlfs

Source

Structs§

Cpuset
Describes a set of CPUs of a resctrl group
CtrlMonGroupStat
Information about a CTRL_MON group. See https://www.kernel.org/doc/html/v6.4/arch/x86/resctrl.html
L3MonStat
Represents the stats for a single L3 within a group. There will be N of these for each group, one for each mon_XX directory in mon_data.
MonGroupStat
Information about a MON group. See https://www.kernel.org/doc/html/v6.4/arch/x86/resctrl.html
MonStat
Represents the stats for a single group. This corresponds to information in the mon_data directory of a CTRL_MON, MON or root group.
ResctrlReader
Reader to read entire resctrl hierarchy.
ResctrlSample
Represents the entire resctrlfs state including information for each child group. See https://www.kernel.org/doc/html/v6.4/arch/x86/resctrl.html

Enums§

Error
GroupMode
Represents the “mode” of a CTRL_MON group
RmidBytes
Internal representation of the value read from monitoring data. This is a wrapper around u64 that is used to handle the “Unavailable” state that can be returned by resctrlfs.

Constants§

DEFAULT_RESCTRL_ROOT

Type Aliases§

Result