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