7#define CLOCK_REALTIME 0
21u64 clock_epoch_to_ymdhms(
u64 secs);
26u64 clock_ymdhms(
void);
33u64 wired_clock_epoch_secs(
void);
A kernel timespec: seconds and nanoseconds since the UNIX epoch, the struct clock_gettime(2) fills.
Definition clock.h:11
i64 sec
whole seconds since the UNIX epoch
Definition clock.h:12
i64 nsec
nanoseconds past sec, [0, 1e9)
Definition clock.h:13
long i64
signed 64-bit integer
Definition types.h:14
unsigned long u64
unsigned 64-bit integer
Definition types.h:13