Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/controllers/cpuctl/
Dcpuctl_def_task01.c68 #define TIME_INTERVAL 30 /* Time interval in seconds */ macro
181 alarm(TIME_INTERVAL); in main()
207 if (delta_time > TIME_INTERVAL) in main()
212 (TIME_INTERVAL * num_cpus); in main()
Dcpuctl_def_task04.c66 #define TIME_INTERVAL 100 /* Time interval in seconds */ macro
198 alarm(TIME_INTERVAL); in main()
224 if (delta_time > TIME_INTERVAL) in main()
229 (TIME_INTERVAL * num_cpus); in main()
Dcpuctl_def_task02.c65 #define TIME_INTERVAL 30 /* Time interval in seconds */ macro
192 alarm(TIME_INTERVAL); in main()
218 if (delta_time > TIME_INTERVAL) in main()
223 (TIME_INTERVAL * num_cpus); in main()
Dcpuctl_test01.c67 #define TIME_INTERVAL 30 /* Time interval in seconds */ macro
181 alarm(TIME_INTERVAL); in main()
199 if (delta_time > TIME_INTERVAL) in main()
204 (delta_cpu_time * 100) / (TIME_INTERVAL * num_cpus); in main()
Dcpuctl_test03.c66 #define TIME_INTERVAL 30 /* Time interval in seconds */ macro
188 alarm(TIME_INTERVAL); in main()
206 if (delta_time > TIME_INTERVAL) in main()
211 (delta_cpu_time * 100) / (TIME_INTERVAL * num_cpus); in main()
Dcpuctl_test04.c66 #define TIME_INTERVAL 100 /* Time interval in seconds */ macro
199 alarm(TIME_INTERVAL); in main()
217 if (delta_time > TIME_INTERVAL) in main()
222 (delta_cpu_time * 100) / (TIME_INTERVAL * num_cpus); in main()
Dcpuctl_def_task03.c66 #define TIME_INTERVAL 30 /* Time interval in seconds */ macro
188 alarm(TIME_INTERVAL); in main()
214 if (delta_time > TIME_INTERVAL) in main()
219 (TIME_INTERVAL * num_cpus); in main()
Dcpuctl_test02.c66 #define TIME_INTERVAL 30 /* Time interval in seconds */ macro
192 alarm(TIME_INTERVAL); in main()
210 if (delta_time > TIME_INTERVAL) in main()
215 (delta_cpu_time * 100) / (TIME_INTERVAL * num_cpus); in main()
DREADME19 Each task runs for an interval TIME_INTERVAL seconds and reports the total time