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