Home
last modified time | relevance | path

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

/linux-6.15/tools/testing/selftests/cgroup/
H A Dtest_cpu.c23 struct cpu_hogger { struct
309 pid_t (*spawn_child)(const struct cpu_hogger *child), in run_cpucg_weight_test()
310 int (*validate)(const struct cpu_hogger *children, int num_children)) in run_cpucg_weight_test()
314 struct cpu_hogger children[3] = {}; in run_cpucg_weight_test()
375 static pid_t weight_hog_ncpus(const struct cpu_hogger *child, int ncpus) in weight_hog_ncpus()
389 static pid_t weight_hog_all_cpus(const struct cpu_hogger *child) in weight_hog_all_cpus()
395 overprovision_validate(const struct cpu_hogger *children, int num_children) in overprovision_validate()
435 static pid_t weight_hog_one_cpu(const struct cpu_hogger *child) in weight_hog_one_cpu()
441 underprovision_validate(const struct cpu_hogger *children, int num_children) in underprovision_validate()
485 struct cpu_hogger leaf[3] = {}; in run_cpucg_nested_weight_test()