Lines Matching defs:tv_usec
46 long tv_usec; /* and microseconds */
59 (ts)->tv_nsec = (tv)->tv_usec * 1000; \
63 (tv)->tv_usec = (ts)->tv_nsec / 1000; \
79 #define timerclear(tvp) (tvp)->tv_sec = (tvp)->tv_usec = 0
80 #define timerisset(tvp) ((tvp)->tv_sec || (tvp)->tv_usec)
83 ((tvp)->tv_usec cmp (uvp)->tv_usec) : \
88 (vvp)->tv_usec = (tvp)->tv_usec + (uvp)->tv_usec; \
89 if ((vvp)->tv_usec >= 1000000) { \
91 (vvp)->tv_usec -= 1000000; \
97 (vvp)->tv_usec = (tvp)->tv_usec - (uvp)->tv_usec; \
98 if ((vvp)->tv_usec < 0) { \
100 (vvp)->tv_usec += 1000000; \