Lines Matching defs:nsec_t
30 typedef uint64_t nsec_t;
43 #define NSEC_INFINITY ((nsec_t) -1)
48 #define NSEC_PER_SEC ((nsec_t) 1000000000ULL)
49 #define NSEC_PER_MSEC ((nsec_t) 1000000ULL)
50 #define NSEC_PER_USEC ((nsec_t) 1000ULL)
53 #define NSEC_PER_MINUTE ((nsec_t) (60ULL*NSEC_PER_SEC))
55 #define NSEC_PER_HOUR ((nsec_t) (60ULL*NSEC_PER_MINUTE))
57 #define NSEC_PER_DAY ((nsec_t) (24ULL*NSEC_PER_HOUR))
59 #define NSEC_PER_WEEK ((nsec_t) (7ULL*NSEC_PER_DAY))
61 #define NSEC_PER_MONTH ((nsec_t) (2629800ULL*NSEC_PER_SEC))
63 #define NSEC_PER_YEAR ((nsec_t) (31557600ULL*NSEC_PER_SEC))
75 nsec_t now_nsec(clockid_t clock);
107 int parse_nsec(const char *t, nsec_t *nsec);