Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/cgroup/
H A Dtest_cpu.c22 struct cpu_hogger { struct
235 pid_t (*spawn_child)(const struct cpu_hogger *child), in run_cpucg_weight_test()
236 int (*validate)(const struct cpu_hogger *children, int num_children)) in run_cpucg_weight_test()
240 struct cpu_hogger children[3] = {NULL}; in run_cpucg_weight_test()
301 static pid_t weight_hog_ncpus(const struct cpu_hogger *child, int ncpus) in weight_hog_ncpus()
315 static pid_t weight_hog_all_cpus(const struct cpu_hogger *child) in weight_hog_all_cpus()
321 overprovision_validate(const struct cpu_hogger *children, int num_children) in overprovision_validate()
361 static pid_t weight_hog_one_cpu(const struct cpu_hogger *child) in weight_hog_one_cpu()
367 underprovision_validate(const struct cpu_hogger *children, int num_children) in underprovision_validate()
411 struct cpu_hogger leaf[3] = {NULL}; in run_cpucg_nested_weight_test()