test-touch.c

Go to the documentation of this file.
00001 // test-touch.c //
00002 
00003 /* <copyright>
00004     Copyright (c) 2013 Intel Corporation.  All Rights Reserved.
00005 
00006     Redistribution and use in source and binary forms, with or without
00007     modification, are permitted provided that the following conditions
00008     are met:
00009 
00010       * Redistributions of source code must retain the above copyright
00011         notice, this list of conditions and the following disclaimer.
00012       * Redistributions in binary form must reproduce the above copyright
00013         notice, this list of conditions and the following disclaimer in the
00014         documentation and/or other materials provided with the distribution.
00015       * Neither the name of Intel Corporation nor the names of its
00016         contributors may be used to endorse or promote products derived
00017         from this software without specific prior written permission.
00018 
00019     THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
00020     "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
00021     LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
00022     A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
00023     HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
00024     SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
00025     LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
00026     DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
00027     THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
00028     (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
00029     OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00030 
00031 
00032 ------------------------------------------------------------------------
00033 
00034     Portions of this software are protected under the following patents:
00035         U.S. Patent 5,812,852
00036         U.S. Patent 6,792,599
00037         U.S. Patent 7,069,556
00038         U.S. Patent 7,328,433
00039         U.S. Patent 7,500,242
00040 
00041   </copyright> */
00042 
00043 extern double omp_get_wtime();
00044 extern int    omp_get_num_threads();
00045 extern int    omp_get_max_threads();
00046 
00047 int main() {
00048     omp_get_wtime();
00049     omp_get_num_threads();
00050     omp_get_max_threads();
00051     return 0;
00052 }
00053 
00054 // end of file //

Generated on 25 Aug 2013 for libomp_oss by  doxygen 1.6.1