LLVM OpenMP
20.0.0git
runtime
src
test-touch.c
Go to the documentation of this file.
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 //
omp_get_max_threads
int omp_get_max_threads()
omp_get_num_threads
int omp_get_num_threads()
omp_get_wtime
double omp_get_wtime()
main
int main()
Definition:
test-touch.c:21
Generated on Wed Jan 29 2025 20:57:58 for LLVM OpenMP by
1.9.6