xref: /llvm-project/libc/include/llvm-libc-macros/windows/time-macros-ext.h (revision e6cf5d2863b77895ae7183952514bedd9e8dde16)
1*e6cf5d28SSchrodinger ZHU Yifan //===-- Windows Time Macros Extension -------------------------------------===//
2*e6cf5d28SSchrodinger ZHU Yifan //
3*e6cf5d28SSchrodinger ZHU Yifan // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4*e6cf5d28SSchrodinger ZHU Yifan // See https://llvm.org/LICENSE.txt for license information.
5*e6cf5d28SSchrodinger ZHU Yifan // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6*e6cf5d28SSchrodinger ZHU Yifan //
7*e6cf5d28SSchrodinger ZHU Yifan //===----------------------------------------------------------------------===//
8*e6cf5d28SSchrodinger ZHU Yifan 
9*e6cf5d28SSchrodinger ZHU Yifan #ifndef LLVM_LIBC_MACROS_WINDOWS_TIME_MACROS_EXT_H
10*e6cf5d28SSchrodinger ZHU Yifan #define LLVM_LIBC_MACROS_WINDOWS_TIME_MACROS_EXT_H
11*e6cf5d28SSchrodinger ZHU Yifan 
12*e6cf5d28SSchrodinger ZHU Yifan #define CLOCK_MONOTONIC 0
13*e6cf5d28SSchrodinger ZHU Yifan #define CLOCK_REALTIME 1
14*e6cf5d28SSchrodinger ZHU Yifan #define CLOCK_PROCESS_CPUTIME_ID 2
15*e6cf5d28SSchrodinger ZHU Yifan #define CLOCK_THREAD_CPUTIME_ID 3
16*e6cf5d28SSchrodinger ZHU Yifan 
17*e6cf5d28SSchrodinger ZHU Yifan #endif // LLVM_LIBC_MACROS_WINDOWS_TIME_MACROS_EXT_H
18