Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/controllers/cpuctl/
Dcpuctl_def_task01.c98 double delta_cpu_time; /* Time the task could run on cpu(s) */ in main() local
201 delta_cpu_time = total_cpu_time - prev_cpu_time; in main()
208 mytime = (delta_cpu_time * 100) / in main()
211 mytime = (delta_cpu_time * 100) / in main()
220 " in %lu (s) INTERVAL\n", delta_cpu_time, mytime, in main()
Dcpuctl_def_task04.c97 double delta_cpu_time; /* Time the task could run on cpu(s) */ in main() local
218 delta_cpu_time = total_cpu_time - prev_cpu_time; in main()
225 mytime = (delta_cpu_time * 100) / in main()
228 mytime = (delta_cpu_time * 100) / in main()
234 " INTERVAL\n", mygroup_num, task_num, delta_cpu_time, in main()
Dcpuctl_def_task02.c99 double delta_cpu_time; /* Time the task could run on cpu(s) */ in main() local
212 delta_cpu_time = total_cpu_time - prev_cpu_time; in main()
219 mytime = (delta_cpu_time * 100) / in main()
222 mytime = (delta_cpu_time * 100) / in main()
227 " (s)\n", mygroup_num, task_num, delta_cpu_time, mytime, in main()
Dcpuctl_test01.c98 delta_cpu_time, /* Time the task could run on cpu(s) (in an interval) */ in main() local
193 delta_cpu_time = total_cpu_time - prev_cpu_time; in main()
201 (delta_cpu_time * 100) / (delta_time * num_cpus); in main()
204 (delta_cpu_time * 100) / (TIME_INTERVAL * num_cpus); in main()
207 with %lu(shares) in %lu (s) INTERVAL\n", my_group_num, delta_cpu_time, mytime, in main()
Dcpuctl_test03.c98 delta_cpu_time, /* Time the task could run on cpu(s) (in an interval) */ in main() local
200 delta_cpu_time = total_cpu_time - prev_cpu_time; in main()
208 (delta_cpu_time * 100) / (delta_time * num_cpus); in main()
211 (delta_cpu_time * 100) / (TIME_INTERVAL * num_cpus); in main()
214 in %lu (s) INTERVAL\n", mygroup_num, task_num, delta_cpu_time, mytime, in main()
Dcpuctl_test04.c98 delta_cpu_time, /* Time the task could run on cpu(s) (in an interval) */ in main() local
211 delta_cpu_time = total_cpu_time - prev_cpu_time; in main()
219 (delta_cpu_time * 100) / (delta_time * num_cpus); in main()
222 (delta_cpu_time * 100) / (TIME_INTERVAL * num_cpus); in main()
225 with %3u shares in %lu (s) INTERVAL\n", mygroup_num, task_num, delta_cpu_time, in main()
Dcpuctl_def_task03.c95 delta_cpu_time, /* Time the task could run on cpu(s) */ in main() local
208 delta_cpu_time = total_cpu_time - prev_cpu_time; in main()
215 mytime = (delta_cpu_time * 100) / in main()
218 mytime = (delta_cpu_time * 100) / in main()
224 mygroup_num, task_num, delta_cpu_time, mytime, in main()
Dcpuctl_test02.c101 delta_cpu_time, /* Time the task could run on cpu(s) (in an interval) */ in main() local
204 delta_cpu_time = total_cpu_time - prev_cpu_time; in main()
212 (delta_cpu_time * 100) / (delta_time * num_cpus); in main()
215 (delta_cpu_time * 100) / (TIME_INTERVAL * num_cpus); in main()
218 with %u(shares) in %lu (s) INTERVAL\n", mygroup_num, task_num, delta_cpu_time, in main()