1 #ifndef LLVM_LIBC_MACROS_TIME_MACROS_H 2 #define LLVM_LIBC_MACROS_TIME_MACROS_H 3 4 #if defined(__AMDGPU__) || defined(__NVPTX__) 5 #include "gpu/time-macros.h" 6 #elif defined(__linux__) 7 #include "linux/time-macros.h" 8 #endif 9 10 #define TIME_UTC 1 11 #define TIME_MONOTONIC 2 12 #define TIME_ACTIVE 3 13 #define TIME_THREAD_ACTIVE 4 14 15 #endif // LLVM_LIBC_MACROS_TIME_MACROS_H 16