pub struct LinuxCpu { /* private fields */ }Expand description
LinuxCPU for Linux cgroup ‘cpu’ resource management.
Implementations
CPU shares (relative weight (ratio) vs. other cgroups with cpu shares).
CPU hardcap limit (in usecs). Allowed cpu time in a given period.
How much time realtime scheduling may use (in usecs).
CPU period to be used for realtime scheduling (in usecs).
CPU shares (relative weight (ratio) vs. other cgroups with cpu shares).
CPU hardcap limit (in usecs). Allowed cpu time in a given period.
CPU period to be used for hardcapping (in usecs).
How much time realtime scheduling may use (in usecs).
CPU period to be used for realtime scheduling (in usecs).
CPUs to use within the cpuset. Default is to use any CPU available.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for LinuxCpu
impl UnwindSafe for LinuxCpu
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.