Home
last modified time | relevance | path

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

/system/extras/tests/lib/testUtil/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.c66 struct timespec double2ts(double amt) in double2ts() argument
70 rv.tv_sec = floor(amt); in double2ts()
71 rv.tv_nsec = (amt - rv.tv_sec) * nSecsPerSec; in double2ts()
82 struct timeval double2tv(double amt) in double2tv() argument
86 rv.tv_sec = floor(amt); in double2tv()
87 rv.tv_usec = (amt - rv.tv_sec) * uSecsPerSec; in double2tv()
261 void testDelay(float amt) in testDelay() argument
275 if (ts2double(&delta) > amt) { break; } in testDelay()
278 remaining = double2ts(amt - ts2double(&delta)); in testDelay()
287 void testDelaySpin(float amt) in testDelaySpin() argument
[all …]