Lines Matching refs:nsec_t
12 typedef uint64_t nsec_t; typedef
43 #define NSEC_INFINITY ((nsec_t) UINT64_MAX)
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))
78 nsec_t now_nsec(clockid_t clock);
114 nsec_t timespec_load_nsec(const struct timespec *ts) _pure_;
116 struct timespec* timespec_store_nsec(struct timespec *ts, nsec_t n);
150 int parse_nsec(const char *t, nsec_t *nsec);