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
12extern "C" {
13#endif
14extern double omp_get_wtime();
15extern int omp_get_num_threads();
16extern int omp_get_max_threads();
17#ifdef __cplusplus
18}
19#endif
20
21int 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

source code of openmp/runtime/src/test-touch.c