Lines Matching refs:USEC_PER_SEC
265 #if HZ <= USEC_PER_SEC && !(USEC_PER_SEC % HZ)
266 return (USEC_PER_SEC / HZ) * j;
267 #elif HZ > USEC_PER_SEC && !(HZ % USEC_PER_SEC)
268 return (j + (HZ / USEC_PER_SEC) - 1)/(HZ / USEC_PER_SEC);
270 return (j * USEC_PER_SEC) / HZ;
291 #if HZ <= USEC_PER_SEC && !(USEC_PER_SEC % HZ)
292 return (u + (USEC_PER_SEC / HZ) - 1) / (USEC_PER_SEC / HZ);
293 #elif HZ > USEC_PER_SEC && !(HZ % USEC_PER_SEC)
294 return u * (HZ / USEC_PER_SEC);
296 return (u * HZ + USEC_PER_SEC - 1) / USEC_PER_SEC;