xref: /freebsd/contrib/llvm-project/openmp/runtime/src/test-touch.c (revision 7fdf597e96a02165cfe22ff357b857d5fa15ed8a)
1 // test-touch.c //
2 
3 //===----------------------------------------------------------------------===//
4 //
5 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
6 // See https://llvm.org/LICENSE.txt for license information.
7 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
8 //
9 //===----------------------------------------------------------------------===//
10 
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14 extern double omp_get_wtime();
15 extern int omp_get_num_threads();
16 extern int omp_get_max_threads();
17 #ifdef __cplusplus
18 }
19 #endif
20 
21 int main() {
22   omp_get_wtime();
23   omp_get_num_threads();
24   omp_get_max_threads();
25   return 0;
26 }
27 
28 // end of file //
29