[GRASS-SVN] r57503 - sandbox/soeren/benchmarks/neighborhood_openmp

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Aug 26 03:30:01 PDT 2013


Author: neteler
Date: 2013-08-26 03:30:01 -0700 (Mon, 26 Aug 2013)
New Revision: 57503

Modified:
   sandbox/soeren/benchmarks/neighborhood_openmp/benchmark.sh
Log:
neighborhood_openmp benchmark: make Ubuntu's time command happy

Modified: sandbox/soeren/benchmarks/neighborhood_openmp/benchmark.sh
===================================================================
--- sandbox/soeren/benchmarks/neighborhood_openmp/benchmark.sh	2013-08-26 10:03:03 UTC (rev 57502)
+++ sandbox/soeren/benchmarks/neighborhood_openmp/benchmark.sh	2013-08-26 10:30:01 UTC (rev 57503)
@@ -11,11 +11,11 @@
 echo "openMP tests 1/2/4 threads...:"
 
 export OMP_NUM_THREADS=1
-time ./neighbor 5000 5000 23
+time -p ./neighbor 5000 5000 23
 export OMP_NUM_THREADS=2
-time ./neighbor 5000 5000 23
+time -p ./neighbor 5000 5000 23
 export OMP_NUM_THREADS=4
-time ./neighbor 5000 5000 23
+time -p ./neighbor 5000 5000 23
 
 echo "------------------------------"
 echo "openMP tests 1/2/4 threads with AVX-i...:"
@@ -27,9 +27,9 @@
 gcc -Wall -fopenmp -lgomp -Ofast -march=core-avx-i neighbor_bench.c -o neighbor
 
 export OMP_NUM_THREADS=1
-time ./neighbor 5000 5000 23
+time -p ./neighbor 5000 5000 23
 export OMP_NUM_THREADS=2
-time ./neighbor 5000 5000 23
+time -p ./neighbor 5000 5000 23
 export OMP_NUM_THREADS=4
-time ./neighbor 5000 5000 23
+time -p ./neighbor 5000 5000 23
 



More information about the grass-commit mailing list