HomeSort by relevance Sort by last modified time
    Searched refs:Cgroup (Results 1 - 2 of 2) sorted by null

  /external/autotest/client/tests/cgroup/
cgroup.py 7 from cgroup_common import Cgroup as CG
10 class cgroup(test.test): class in inherits:test.test
12 Tests the cgroup functionalities. It works by creating a process (which is
22 Try to access different resources which are restricted by cgroup.
24 logging.info('Starting cgroup testing')
61 raise error.TestFail('Can\'t mount any cgroup modules')
84 err += "\nCan't remove cgroup directory"
97 raise error.TestFail("cgroup init failed")
104 raise error.TestFail("Can't create cgroup")
140 # Fill the memory without cgroup limitatio
    [all...]
cgroup_common.py 4 Helpers for cgroup testing.
15 class Cgroup(object):
17 Cgroup handling class.
22 @param module: Name of the cgroup module
34 @param modules: Array of all available cgroup modules.
48 Creates new temporary cgroup
49 @param root: where to create this cgroup (default: self.root)
54 pwd = mkdtemp(prefix='cgroup-', dir=root) + '/'
56 pwd = mkdtemp(prefix='cgroup-', dir=self.root) + '/'
65 Removes cgroup
    [all...]

Completed in 890 milliseconds