Home
last modified time | relevance | path

Searched refs:delay (Results 1 – 17 of 17) sorted by relevance

/system/extras/tests/cpueater/
Ddaemonize.c34 unsigned int delay = 0; in main() local
59 delay = atoi(*argv); in main()
61 delay = atoi(*++argv); in main()
99 if(delay) { in main()
108 if(delay) { in main()
109 sleep(delay); in main()
116 if(delay) { in main()
/system/extras/tests/bionic/libc/common/
Dtest_pthread_mutex.c83 time_sleep(double delay) in time_sleep() argument
88 ts.tv_sec = (time_t)delay; in time_sleep()
89 ts.tv_nsec = (long)((delay - ts.tv_sec)*1e9); in time_sleep()
319 static void do_test_mutex_3(pthread_mutexattr_t *attr, double delay) in do_test_mutex_3() argument
326 s->waitDelay = delay; in do_test_mutex_3()
327 s->spinDelay = delay/20.; in do_test_mutex_3()
335 time_sleep(delay); in do_test_mutex_3()
343 static void do_test_3(double delay) in do_test_3() argument
347 do_test_mutex_3(NULL, delay); in do_test_3()
354 do_test_mutex_3(attr, delay); in do_test_3()
[all …]
/system/core/toolbox/
Diftop.c229 int count = 0, header_interval = 22, delay = 1, i; in iftop_main() local
238 delay = atoi(argv[i++]); in iftop_main()
239 if (!delay) in iftop_main()
240 delay = 1; in iftop_main()
267 sleep(delay); in iftop_main()
Dvmstat.c74 int iterations, delay, header_interval; in vmstat_main() local
79 delay = 1; in vmstat_main()
96 delay = atoi(argv[++i]); in vmstat_main()
123 sleep(delay); in vmstat_main()
Dschedtop.c277 int delay = 3000000; in schedtop_main() local
287 delay = delay_f * 1000000; in schedtop_main()
330 usleep(delay); in schedtop_main()
Dtop.c86 static int max_procs, delay, iterations, threads; variable
115 delay = 3; in top_main()
143 delay = atoi(argv[++i]); in top_main()
185 sleep(delay); in top_main()
/system/media/opensles/tests/listening/
DseekTorture.c117 SLmillisecond delay = 100 + (rand() & 8191); in main() local
118 printf("sleep %u\n", (unsigned) delay); in main()
119 usleep(delay * 1000); in main()
/system/bluetooth/tools/
Dasocket_test.c54 int delay; member
319 sleep(args->delay); in thread_delay_close()
360 sleep(args->delay); in thread_accept()
367 sleep(args->delay); in thread_connect()
374 sleep(args->delay); in thread_delay_close_write()
376 sleep(args->delay); in thread_delay_close_write()
383 sleep(args->delay); in thread_accept_write()
385 sleep(args->delay); in thread_accept_write()
392 sleep(args->delay); in thread_delay_connect()
Dsocktest.c53 int delay; member
333 sleep(args->delay); in thread_delay_close()
374 sleep(args->delay); in thread_accept()
381 sleep(args->delay); in thread_connect()
388 sleep(args->delay); in thread_delay_close_write()
390 sleep(args->delay); in thread_delay_close_write()
397 sleep(args->delay); in thread_accept_write()
399 sleep(args->delay); in thread_accept_write()
406 sleep(args->delay); in thread_delay_connect()
Dpipetest.c128 int delay = (int)((double)random() * (10000000.0 / 2147483647.0)); in thread_pollin_rand_delay() local
129 printf("%d: START (delay = %d)\n", gettid(), delay); in thread_pollin_rand_delay()
132 usleep(delay); in thread_pollin_rand_delay()
Dsock_shutdown_test.c52 int delay; member
220 sleep(args->delay); in thread_accept()
/system/media/opensles/tests/sandbox/
Dmultiplay.c180 SLmillisecond delay = 100 + (rand() & 1023); in main() local
181 printf("sleep %u\n", (unsigned) delay); in main()
182 usleep(delay * 1000); in main()
223 if ((playTimeInMilliseconds > 0) && ((playTimeInMilliseconds -= delay) < 0)) in main()
/system/extras/latencytop/
Dlatencytop.c70 int delay, iterations; in main() local
75 delay = 1; in main()
85 delay = atoi(argv[++i]); in main()
142 sleep(delay); in main()
/system/wlan/ti/sta_dk_4_0_4_32/common/src/core/data_ctrl/Tx/
Dtx.c1539 pTxData->txJitter[selectedQueueIndex].delay.core += uCoreDelay; in txData_startTxScheduler()
1849 pTxData->txJitter[qIndex].delay.fw += pCmpltAttr->fwHandlingTime; in txData_txCompleteUpdate()
1850 pTxData->txJitter[qIndex].delay.air += pCmpltAttr->actualDurationInAir; in txData_txCompleteUpdate()
1929 pTxData->txJitter[pPacketId->txQid].delay.xfer += uXferDelay; in txData_sendPacketDebug()
4168 pTxData->txJitter[u_ac].delay.core = 0; in txData_StartJitterTimer()
4169 pTxData->txJitter[u_ac].delay.xfer = 0; in txData_StartJitterTimer()
4170 pTxData->txJitter[u_ac].delay.wait = 0; in txData_StartJitterTimer()
4171 pTxData->txJitter[u_ac].delay.fw = 0; in txData_StartJitterTimer()
4172 pTxData->txJitter[u_ac].delay.air = 0; in txData_StartJitterTimer()
4234 … pTxData->txJitter[u_ac].delay.core / pTxData->txJitter[u_ac].count.core, in txData_printJitter()
[all …]
Dtx.h109 } delay; member
/system/wlan/ti/sta_dk_4_0_4_32/common/src/core/rsn/inc/
DadmCtrl.h100 typedef TI_STATUS (*admCtrl_sendPMKIDCandListAfterDelay_t)(admCtrl_t *pAdmCtrl, UINT32 delay);
/system/wlan/ti/wilink_6_1/stad/src/Connection_Managment/
DadmCtrl.h100 typedef TI_STATUS (*admCtrl_sendPMKIDCandListAfterDelay_t)(admCtrl_t *pAdmCtrl, TI_UINT32 delay);