36#define CLOCK_REALTIME_COARSE CLOCK_REALTIME
37#define CLOCK_MONOTONIC (0x20)
38#define CLOCK_MONOTONIC_COARSE (CLOCK_MONOTONIC+1)
39#define CLOCK_MONOTONIC_RAW (CLOCK_MONOTONIC+2)
40#define CLOCK_BOOTTIME (CLOCK_MONOTONIC+3)
41#define CLOCK_PROCESS_CPUTIME_ID (0x30)
42#define CLOCK_THREAD_CPUTIME_ID (0x31)
55extern int clock_getres(clockid_t clk_id,
struct timespec *res);
68extern int clock_gettime(clockid_t clk_id,
struct timespec *tp);
81extern int clock_settime(clockid_t clk_id,
const struct timespec *tp);
93extern int usleep(useconds_t useconds);