Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/cgroup/
H A Dtest_cpu.c24 struct cpu_hogger { struct
312 pid_t (*spawn_child)(const struct cpu_hogger *child), in run_cpucg_weight_test()
313 int (*validate)(const struct cpu_hogger *children, int num_children)) in run_cpucg_weight_test()
317 struct cpu_hogger children[3] = {}; in run_cpucg_weight_test()
378 static pid_t weight_hog_ncpus(const struct cpu_hogger *child, int ncpus) in weight_hog_ncpus()
392 static pid_t weight_hog_all_cpus(const struct cpu_hogger *child) in weight_hog_all_cpus()
398 overprovision_validate(const struct cpu_hogger *children, int num_children) in overprovision_validate()
438 static pid_t weight_hog_one_cpu(const struct cpu_hogger *child) in weight_hog_one_cpu()
444 underprovision_validate(const struct cpu_hogger *children, int num_children) in underprovision_validate()
488 struct cpu_hogger leaf[3] = {}; in run_cpucg_nested_weight_test()