22 lines
285 B
C
22 lines
285 B
C
#pragma once
|
|
#include <stdint.h>
|
|
|
|
struct timeval {
|
|
uint64_t tv_sec;
|
|
uint32_t tv_usec;
|
|
};
|
|
|
|
struct timezone {
|
|
int tz_minuteswest;
|
|
int tz_dsttime;
|
|
};
|
|
|
|
struct timespec {
|
|
uint64_t tv_sec;
|
|
long tv_nsec;
|
|
};
|
|
|
|
#if defined(__KERNEL__)
|
|
extern uint64_t system_time;
|
|
#endif
|