Home
last modified time | relevance | path

Searched refs:amt (Results 1 – 3 of 3) sorted by relevance

/system/extras/tests/include/
DtestUtil.h28 struct timespec double2ts(double amt);
29 struct timeval double2tv(double amt);
37 void testDelay(float amt);
38 void testDelaySpin(float amt);
/system/extras/tests/lib/testUtil/
DtestUtil.c69 struct timespec double2ts(double amt) in double2ts() argument
73 rv.tv_sec = floor(amt); in double2ts()
74 rv.tv_nsec = (amt - rv.tv_sec) * nSecsPerSec; in double2ts()
85 struct timeval double2tv(double amt) in double2tv() argument
89 rv.tv_sec = floor(amt); in double2tv()
90 rv.tv_usec = (amt - rv.tv_sec) * uSecsPerSec; in double2tv()
264 void testDelay(float amt) in testDelay() argument
278 if (ts2double(&delta) > amt) { break; } in testDelay()
281 remaining = double2ts(amt - ts2double(&delta)); in testDelay()
290 void testDelaySpin(float amt) in testDelaySpin() argument
[all …]
/system/extras/tests/wifi/stress/
DwifiLoadScanAssoc.c454 float fract, biasedFract, amt; in randDelay() local
465 amt = delayMin + ((delayMax - delayMin) * biasedFract); in randDelay()
468 testDelay(amt); in randDelay()