#ifndef _UAPI_LINUX_TIME_H
#define _UAPI_LINUX_TIME_H
#include <linux/types.h>
#include <linux/time_types.h>
#ifndef __KERNEL__
#ifndef _STRUCT_TIMESPEC
#define _STRUCT_TIMESPEC
struct timespec {
__kernel_old_time_t tv_sec;
long tv_nsec;
};
#endif
struct timeval {
__kernel_old_time_t tv_sec;
__kernel_suseconds_t tv_usec;
};
struct itimerspec {
struct timespec it_interval;
struct timespec it_value;
};
struct itimerval {
struct timeval it_interval;
struct timeval it_value;
};
#endif
struct timezone { … };
#define ITIMER_REAL …
#define ITIMER_VIRTUAL …
#define ITIMER_PROF …
#define CLOCK_REALTIME …
#define CLOCK_MONOTONIC …
#define CLOCK_PROCESS_CPUTIME_ID …
#define CLOCK_THREAD_CPUTIME_ID …
#define CLOCK_MONOTONIC_RAW …
#define CLOCK_REALTIME_COARSE …
#define CLOCK_MONOTONIC_COARSE …
#define CLOCK_BOOTTIME …
#define CLOCK_REALTIME_ALARM …
#define CLOCK_BOOTTIME_ALARM …
#define CLOCK_SGI_CYCLE …
#define CLOCK_TAI …
#define MAX_CLOCKS …
#define CLOCKS_MASK …
#define CLOCKS_MONO …
#define TIMER_ABSTIME …
#endif