Home
last modified time | relevance | path

Searched refs:Cgroup (Results 1 – 4 of 4) sorted by relevance

/external/rust/crates/num_cpus/src/
Dlinux.rs151 let cgroup = some!(Cgroup::translate(mntinfo, subsys)); in load_cgroups()
155 struct Cgroup { struct
168 impl Cgroup { impl
169 fn new(dir: PathBuf) -> Cgroup { in new() argument
170 Cgroup { in new()
175 fn translate(mntinfo: MountInfo, subsys: Subsys) -> Option<Cgroup> { in translate() argument
191 Some(Cgroup::new(path)) in translate()
291 use super::{Cgroup, MountInfo, Subsys};
389 let actual = Cgroup::translate(mnt_info, subsys).map(|c| c.base); in test_cgroup_mount()
397 let cgroup = Cgroup::new(join!(FIXTURES_CGROUPS, "good")); in test_cgroup_cpu_quota()
[all …]
/external/autotest/client/tests/cgroup/
Dcontrol2 NAME = "Cgroup"
Dcgroup_common.py15 class Cgroup(object): class
Dcgroup.py7 from cgroup_common import Cgroup as CG