clock_gettime: clock_id != CLOCK_REALTIME -> offload to linux

This commit is contained in:
Tomoki Shirasawa
2016-01-13 14:04:06 +09:00
parent a42ee00101
commit 2e31b8abd1
2 changed files with 6 additions and 1 deletions

View File

@@ -20,6 +20,10 @@
#define __TIME_H
#define NS_PER_SEC 1000000000UL
#define CLOCK_REALTIME 0
#define CLOCK_MONOTONIC 1
#define CLOCK_PROCESS_CPUTIME_ID 2
#define CLOCK_THREAD_CPUTIME_ID 3
typedef long int __time_t;