21 January 2020 11:07:18 AM TIMER_OMP_GET_WTIME C version Demonstrate the use of the OMP_GET_WTIME timer. omp_get_wtime ( ) is an OpenMP library function. It returns the elapsed wall clock time in seconds. The number of processors available: OMP_GET_NUM_PROCS () = 8 OMP_SET_NUM_THREADS requests 8 threads. TEST01 Time the C RAND routine by computing N values. For a given N, repeat the computation 5 times. Data vectors will be of minimum size 1024 Data vectors will be of maximum size 1048756 Wall clock times are in seconds. N Rep #1 Rep #2 Rep #2 Rep #4 Rep #5 1024 x[0] = 1804289383 0.000010 x[0] = 386839851 0.000009 x[0] = 279527351 0.000009 x[0] = 1662919361 0.000009 x[0] = 1397401777 0.000009 2048 x[0] = 1891292515 0.000020 x[0] = 361520407 0.000019 x[0] = 1344992371 0.000019 x[0] = 419186726 0.000019 x[0] = 907339252 0.000019 4096 x[0] = 745712158 0.000040 x[0] = 116276305 0.000036 x[0] = 1531392060 0.000038 x[0] = 1758050055 0.000038 x[0] = 1135992855 0.000037 8192 x[0] = 358951894 0.000077 x[0] = 1272174340 0.000073 x[0] = 496561661 0.000073 x[0] = 2134878203 0.000074 x[0] = 869212447 0.000074 16384 x[0] = 791496463 0.000156 x[0] = 350615169 0.000148 x[0] = 1049613479 0.000148 x[0] = 2009662218 0.000148 x[0] = 2114718887 0.000148 32768 x[0] = 543828801 0.000305 x[0] = 1459138466 0.000300 x[0] = 989964655 0.000300 x[0] = 745636671 0.000299 x[0] = 675259397 0.000299 65536 x[0] = 608043060 0.000621 x[0] = 1397237622 0.000635 x[0] = 1493915180 0.000548 x[0] = 142574706 0.000547 x[0] = 1161560675 0.000580 131072 x[0] = 1899087921 0.001213 x[0] = 270842687 0.001203 x[0] = 452964975 0.001093 x[0] = 1456711665 0.001094 x[0] = 748455220 0.001199 262144 x[0] = 405118908 0.002401 x[0] = 844041136 0.002304 x[0] = 716498184 0.002279 x[0] = 2049438716 0.002309 x[0] = 1753313355 0.002191 524288 x[0] = 707539627 0.004864 x[0] = 1705391276 0.004413 x[0] = 672048454 0.004436 x[0] = 1327769184 0.004411 x[0] = 32459967 0.004424 1048576 x[0] = 365276336 0.009512 x[0] = 1614963815 0.008797 x[0] = 1532220195 0.008978 x[0] = 798196474 0.008942 x[0] = 411303290 0.008898 TIMER_OMP_GET_WTIME Normal end of execution. 21 January 2020 11:07:18 AM