[clang] constexpr built-in elementwise bitreverse function. (#118177)
[llvm-project.git] / libc / include / llvm-libc-macros / linux / time-macros.h
blob407a1eb30eeaf7b292de5123b97544aebb09a5f2
1 //===-- Definition of macros from time.h ---------------------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_LIBC_MACROS_LINUX_TIME_MACROS_H
10 #define LLVM_LIBC_MACROS_LINUX_TIME_MACROS_H
12 // clock type macros
13 #define CLOCK_REALTIME 0
14 #define CLOCK_MONOTONIC 1
15 #define CLOCK_PROCESS_CPUTIME_ID 2
16 #define CLOCK_THREAD_CPUTIME_ID 3
17 #define CLOCK_MONOTONIC_RAW 4
18 #define CLOCK_REALTIME_COARSE 5
19 #define CLOCK_MONOTONIC_COARSE 6
20 #define CLOCK_BOOTTIME 7
21 #define CLOCK_REALTIME_ALARM 8
22 #define CLOCK_BOOTTIME_ALARM 9
24 #define CLOCKS_PER_SEC 1000000
26 #endif // LLVM_LIBC_MACROS_LINUX_TIME_MACROS_H