Jim Cownie | 5e8470a | 2013-09-27 10:38:44 +0000 | [diff] [blame] | 1 | // test-touch.c // |
| 2 | |
| 3 | |
| 4 | //===----------------------------------------------------------------------===// |
| 5 | // |
| 6 | // The LLVM Compiler Infrastructure |
| 7 | // |
| 8 | // This file is dual licensed under the MIT and the University of Illinois Open |
| 9 | // Source Licenses. See LICENSE.txt for details. |
| 10 | // |
| 11 | //===----------------------------------------------------------------------===// |
| 12 | |
| 13 | |
Jim Cownie | 4cc4bb4 | 2014-10-07 16:25:50 +0000 | [diff] [blame] | 14 | #ifdef __cplusplus |
| 15 | extern "C" { |
| 16 | #endif |
Jim Cownie | 5e8470a | 2013-09-27 10:38:44 +0000 | [diff] [blame] | 17 | extern double omp_get_wtime(); |
| 18 | extern int omp_get_num_threads(); |
| 19 | extern int omp_get_max_threads(); |
Jim Cownie | 4cc4bb4 | 2014-10-07 16:25:50 +0000 | [diff] [blame] | 20 | #ifdef __cplusplus |
| 21 | } |
| 22 | #endif |
Jim Cownie | 5e8470a | 2013-09-27 10:38:44 +0000 | [diff] [blame] | 23 | |
| 24 | int main() { |
| 25 | omp_get_wtime(); |
| 26 | omp_get_num_threads(); |
| 27 | omp_get_max_threads(); |
| 28 | return 0; |
| 29 | } |
| 30 | |
| 31 | // end of file // |