28#define SYS_TIME_MAX_SOURCES 8
uint64_t sys_time_register_source(const sys_time_source_t *source)
Register a system timer source.
time_t sys_time_unix_epoch(void)
The unix epoch.
clock_t sys_time_uptime(void)
Time since boot.
void sys_time_unregister_source(const sys_time_source_t *source)
Unregister a system timer source.
void sys_time_wait(clock_t nanoseconds)
Wait for a specified number of nanoseconds.
uint64_t read(fd_t fd, void *buffer, uint64_t count)
System call for reading from files.
__UINT64_TYPE__ clock_t
A nanosecond time.
static sys_time_source_t source
Structure to describe the HPET to the sys time subsystem.
long long unsigned time_t