Searched refs:amt (Results 1 – 2 of 2) 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);
66 struct timespec double2ts(double amt) in double2ts() argument70 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() argument86 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() argument275 if (ts2double(&delta) > amt) { break; } in testDelay()278 remaining = double2ts(amt - ts2double(&delta)); in testDelay()287 void testDelaySpin(float amt) in testDelaySpin() argument[all …]