Trait CpuController

Source
pub trait CpuController: Controller {
    // Required methods
    fn shares(&self) -> Box<dyn AttrFile<usize> + '_>;
    fn stat(&self) -> Box<dyn ReadAttr<Stat> + '_>;
    fn cfs_period_us(&self) -> Box<dyn AttrFile<Duration> + '_>;
    fn cfs_quota_us(&self) -> Box<dyn AttrFile<Duration> + '_>;
}

Required Methods§

Source

fn shares(&self) -> Box<dyn AttrFile<usize> + '_>

Source

fn stat(&self) -> Box<dyn ReadAttr<Stat> + '_>

Source

fn cfs_period_us(&self) -> Box<dyn AttrFile<Duration> + '_>

Source

fn cfs_quota_us(&self) -> Box<dyn AttrFile<Duration> + '_>

Implementors§