Searched refs:fmyshares (Results 1 – 8 of 8) sorted by relevance
/third_party/ltp/testcases/kernel/controllers/cpuctl/ |
D | cpuctl_test01.c | 102 unsigned int fmyshares, num_tasks; /* f-> from file. num_tasks is tasks in this group */ in main() local 164 if ((fmyshares = read_shares_file(mysharesfile)) < 2) in main() 172 exp_cpu_time = (double)(fmyshares * 100) / (total_shares * num_tasks); in main() 235 if ((fmyshares = in main() 241 (double)(fmyshares * 100) / (total_shares * in main()
|
D | cpuctl_test02.c | 106 unsigned int fmyshares, num_tasks; /* f-> from file. num_tasks is tasks in this group */ in main() local 176 if ((fmyshares = read_shares_file(mysharesfile)) < 2) in main() 184 exp_cpu_time = (double)(fmyshares * 100) / (total_shares * num_tasks); in main() 218 mytime, exp_cpu_time, fmyshares, delta_time); in main() 268 (double)(fmyshares * 100) / (total_shares * in main()
|
D | cpuctl_def_task04.c | 101 unsigned int fmyshares, num_tasks; in main() local 178 if ((fmyshares = read_shares_file(mysharesfile)) < 2) in main() 186 exp_cpu_time = (double)(fmyshares * 100) / (total_shares * num_tasks); in main() 233 mytime, exp_cpu_time, fmyshares, delta_time); in main()
|
D | cpuctl_test04.c | 102 unsigned int fmyshares, num_tasks; /* f-> from file. num_tasks is tasks in this group */ in main() local 182 if ((fmyshares = read_shares_file(mysharesfile)) < 2) in main() 190 exp_cpu_time = (double)(fmyshares * 100) / (total_shares * num_tasks); in main() 224 mytime, exp_cpu_time, fmyshares, delta_time); in main()
|
D | cpuctl_def_task02.c | 103 unsigned int fmyshares, num_tasks; in main() local 172 if ((fmyshares = read_shares_file(mysharesfile)) < 2) in main() 180 exp_cpu_time = (double)(fmyshares * 100) / (total_shares * num_tasks); in main() 226 exp_cpu_time, fmyshares, delta_time); in main()
|
D | cpuctl_def_task01.c | 102 unsigned int fmyshares, num_tasks; in main() local 161 if ((fmyshares = read_shares_file(mysharesfile)) < 2) in main() 169 exp_cpu_time = (double)(fmyshares * 100) / (total_shares * num_tasks); in main()
|
D | cpuctl_test03.c | 101 unsigned int fmyshares, num_tasks; /* f-> from file. num_tasks is tasks in this group */ in main() local 171 if ((fmyshares = read_shares_file(mysharesfile)) < 2) in main() 179 exp_cpu_time = (double)(fmyshares * 100) / (total_shares * num_tasks); in main()
|
D | cpuctl_def_task03.c | 99 unsigned int fmyshares, num_tasks; in main() local 168 if ((fmyshares = read_shares_file(mysharesfile)) < 2) in main() 176 exp_cpu_time = (double)(fmyshares * 100) / (total_shares * num_tasks); in main()
|