Searched refs:amt (Results 1 – 3 of 3) sorted by relevance
28 struct timespec double2ts(double amt);29 struct timeval double2tv(double amt);37 void testDelay(float amt);38 void testDelaySpin(float amt);
69 struct timespec double2ts(double amt) in double2ts() argument73 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() argument89 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() argument278 if (ts2double(&delta) > amt) { break; } in testDelay()281 remaining = double2ts(amt - ts2double(&delta)); in testDelay()290 void testDelaySpin(float amt) in testDelaySpin() argument[all …]
454 float fract, biasedFract, amt; in randDelay() local465 amt = delayMin + ((delayMax - delayMin) * biasedFract); in randDelay()468 testDelay(amt); in randDelay()