Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/controllers/cpuctl/
Dcpuctl_test01.c104 unsigned int fmyshares, num_tasks; /* f-> from file. num_tasks is tasks in this group */ in main() local
166 if ((fmyshares = read_shares_file(mysharesfile)) < 2) in main()
174 exp_cpu_time = (double)(fmyshares * 100) / (total_shares * num_tasks); in main()
237 if ((fmyshares = in main()
243 (double)(fmyshares * 100) / (total_shares * in main()
Dcpuctl_test02.c107 unsigned int fmyshares, num_tasks; /* f-> from file. num_tasks is tasks in this group */ in main() local
177 if ((fmyshares = read_shares_file(mysharesfile)) < 2) in main()
185 exp_cpu_time = (double)(fmyshares * 100) / (total_shares * num_tasks); in main()
219 mytime, exp_cpu_time, fmyshares, delta_time); in main()
269 (double)(fmyshares * 100) / (total_shares * in main()
Dcpuctl_def_task02.c105 unsigned int fmyshares, num_tasks; in main() local
174 if ((fmyshares = read_shares_file(mysharesfile)) < 2) in main()
182 exp_cpu_time = (double)(fmyshares * 100) / (total_shares * num_tasks); in main()
228 exp_cpu_time, fmyshares, delta_time); in main()
Dcpuctl_def_task04.c103 unsigned int fmyshares, num_tasks; in main() local
180 if ((fmyshares = read_shares_file(mysharesfile)) < 2) in main()
188 exp_cpu_time = (double)(fmyshares * 100) / (total_shares * num_tasks); in main()
235 mytime, exp_cpu_time, fmyshares, delta_time); in main()
Dcpuctl_test04.c104 unsigned int fmyshares, num_tasks; /* f-> from file. num_tasks is tasks in this group */ in main() local
184 if ((fmyshares = read_shares_file(mysharesfile)) < 2) in main()
192 exp_cpu_time = (double)(fmyshares * 100) / (total_shares * num_tasks); in main()
226 mytime, exp_cpu_time, fmyshares, delta_time); in main()
Dcpuctl_def_task01.c104 unsigned int fmyshares, num_tasks; in main() local
163 if ((fmyshares = read_shares_file(mysharesfile)) < 2) in main()
171 exp_cpu_time = (double)(fmyshares * 100) / (total_shares * num_tasks); in main()
Dcpuctl_test03.c103 unsigned int fmyshares, num_tasks; /* f-> from file. num_tasks is tasks in this group */ in main() local
173 if ((fmyshares = read_shares_file(mysharesfile)) < 2) in main()
181 exp_cpu_time = (double)(fmyshares * 100) / (total_shares * num_tasks); in main()
Dcpuctl_def_task03.c101 unsigned int fmyshares, num_tasks; in main() local
170 if ((fmyshares = read_shares_file(mysharesfile)) < 2) in main()
178 exp_cpu_time = (double)(fmyshares * 100) / (total_shares * num_tasks); in main()