Home
last modified time | relevance | path

Searched refs:TIME_INTERVAL (Results 1 - 12 of 12) sorted by relevance

/third_party/ltp/testcases/kernel/controllers/cpuctl/
H A Dcpuctl_def_task01.c68 #define TIME_INTERVAL 30 /* Time interval in seconds */ macro
69 #define NUM_INTERVALS 3 /* How many iterations of TIME_INTERVAL */
87 int num_cpus, test_num, len; /* Total time = TIME_INTERVAL*num_cpus */ in main()
179 alarm(TIME_INTERVAL); in main()
182 * Let the task run on cpu for TIME_INTERVAL. Time of this in main()
184 * TIME_INTERVAL to measure cpu usage in main()
190 /* Duration in case its not exact TIME_INTERVAL */ in main()
205 if (delta_time > TIME_INTERVAL) in main()
210 (TIME_INTERVAL * num_cpus); in main()
H A Dcpuctl_def_task04.c66 #define TIME_INTERVAL 100 /* Time interval in seconds */ macro
67 #define NUM_INTERVALS 2 /* How many iterations of TIME_INTERVAL */
196 alarm(TIME_INTERVAL); in main()
199 * Let the task run on cpu for TIME_INTERVAL. Time of this in main()
201 * TIME_INTERVAL to measure cpu usage in main()
207 /* Duration in case its not exact TIME_INTERVAL */ in main()
222 if (delta_time > TIME_INTERVAL) in main()
227 (TIME_INTERVAL * num_cpus); in main()
H A Dcpuctl_def_task02.c65 #define TIME_INTERVAL 30 /* Time interval in seconds */ macro
66 #define NUM_INTERVALS 3 /* How many iterations of TIME_INTERVAL */
190 alarm(TIME_INTERVAL); in main()
193 * Let the task run on cpu for TIME_INTERVAL. Time of this in main()
195 * TIME_INTERVAL to measure cpu usage in main()
201 /* Duration in case its not exact TIME_INTERVAL */ in main()
216 if (delta_time > TIME_INTERVAL) in main()
221 (TIME_INTERVAL * num_cpus); in main()
H A Dcpuctl_def_task03.c66 #define TIME_INTERVAL 30 /* Time interval in seconds */ macro
67 #define NUM_INTERVALS 2 /* How many iterations of TIME_INTERVAL */
186 alarm(TIME_INTERVAL); in main()
189 * Let the task run on cpu for TIME_INTERVAL. Time of this in main()
191 * TIME_INTERVAL to measure cpu usage in main()
197 /* Duration in case its not exact TIME_INTERVAL */ in main()
212 if (delta_time > TIME_INTERVAL) in main()
217 (TIME_INTERVAL * num_cpus); in main()
H A Dcpuctl_test02.c66 #define TIME_INTERVAL 30 /* Time interval in seconds */ macro
67 #define NUM_INTERVALS 3 /* How many iterations of TIME_INTERVAL */
88 int num_cpus; /* Total time = TIME_INTERVAL *num_cpus in the machine */ in main()
191 alarm(TIME_INTERVAL); in main()
193 while (!timer_expired) /* Let the task run on cpu for TIME_INTERVAL */ in main()
195 * exceed the TIME_INTERVAL to measure cpu usage in main()
198 delta_time = current_time - prev_time; /* Duration in case its not exact TIME_INTERVAL */ in main()
209 if (delta_time > TIME_INTERVAL) in main()
214 (delta_cpu_time * 100) / (TIME_INTERVAL * num_cpus); in main()
H A Dcpuctl_test01.c67 #define TIME_INTERVAL 30 /* Time interval in seconds */ macro
68 #define NUM_INTERVALS 3 /* How many iterations of TIME_INTERVAL */
87 int len; /* Total time = TIME_INTERVAL *num_cpus in the machine */ in main()
179 alarm(TIME_INTERVAL); in main()
181 while (!timer_expired) /* Let the task run on cpu for TIME_INTERVAL */ in main()
183 * exceed the TIME_INTERVAL to measure cpu usage in main()
186 delta_time = current_time - prev_time; /* Duration in case its not exact TIME_INTERVAL */ in main()
197 if (delta_time > TIME_INTERVAL) in main()
202 (delta_cpu_time * 100) / (TIME_INTERVAL * num_cpus); in main()
H A Dcpuctl_test04.c66 #define TIME_INTERVAL 100 /* Time interval in seconds */ macro
67 #define NUM_INTERVALS 2 /* How many iterations of TIME_INTERVAL */
86 int num_cpus; /* Total time = TIME_INTERVAL *num_cpus in the machine */ in main()
197 alarm(TIME_INTERVAL); in main()
199 while (!timer_expired) /* Let the task run on cpu for TIME_INTERVAL */ in main()
201 * exceed the TIME_INTERVAL to measure cpu usage in main()
204 delta_time = current_time - prev_time; /* Duration in case its not exact TIME_INTERVAL */ in main()
215 if (delta_time > TIME_INTERVAL) in main()
220 (delta_cpu_time * 100) / (TIME_INTERVAL * num_cpus); in main()
H A Dcpuctl_test03.c66 #define TIME_INTERVAL 30 /* Time interval in seconds */ macro
67 #define NUM_INTERVALS 2 /* How many iterations of TIME_INTERVAL */
85 int num_cpus; /* Total time = TIME_INTERVAL *num_cpus in the machine */ in main()
186 alarm(TIME_INTERVAL); in main()
188 while (!timer_expired) /* Let the task run on cpu for TIME_INTERVAL */ in main()
190 * exceed the TIME_INTERVAL to measure cpu usage in main()
193 delta_time = current_time - prev_time; /* Duration in case its not exact TIME_INTERVAL */ in main()
204 if (delta_time > TIME_INTERVAL) in main()
209 (delta_cpu_time * 100) / (TIME_INTERVAL * num_cpus); in main()
/third_party/node/deps/openssl/openssl/providers/implementations/rands/
H A Ddrbg_local.h31 # define TIME_INTERVAL (60*60) /* 1 hour */ macro
H A Ddrbg.c823 drbg->reseed_time_interval = TIME_INTERVAL; in ossl_rand_drbg_new()
/third_party/openssl/providers/implementations/rands/
H A Ddrbg_local.h31 # define TIME_INTERVAL (60*60) /* 1 hour */ macro
H A Ddrbg.c823 drbg->reseed_time_interval = TIME_INTERVAL; in ossl_rand_drbg_new()

Completed in 8 milliseconds