https://svn.lrde.epita.fr/svn/oln/trunk/milena
Index: ChangeLog
from Ugo Jardonnet <ugo.jardonnet(a)lrde.epita.fr>
Sandboc : ICP: Update check script (gprof).
* sandbox/jardonnet/test/bench: Add info.
* sandbox/jardonnet/test/icp_check.sh: Update testes.
* sandbox/jardonnet/test/Makefile: Update rule for gprof.
Makefile | 11 +++++++----
bench | 2 ++
icp_check.sh | 8 ++++----
3 files changed, 13 insertions(+), 8 deletions(-)
Index: sandbox/jardonnet/test/bench
--- sandbox/jardonnet/test/bench (revision 1837)
+++ sandbox/jardonnet/test/bench (working copy)
@@ -30,3 +30,5 @@
0m6.468s 0m1.212s
+gprof icp_map 1 call chamfer 0.33s
+ icp_lazy 16 call memo 0.21
Index: sandbox/jardonnet/test/icp_check.sh
--- sandbox/jardonnet/test/icp_check.sh (revision 1837)
+++ sandbox/jardonnet/test/icp_check.sh (working copy)
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/zsh
for i in `\ls bin/`
do
- echo execute $i 01.pbm 02.pbm
- time ./bin/$i 01.pbm 02.pbm > ./bin/log_$i
- echo ./bin/log_$i
+ echo " " $i
+ \time -f "%U" ./bin/$i 01.pbm 02.pbm > ./bin/log_$i
+ echo ""
done
Index: sandbox/jardonnet/test/Makefile
--- sandbox/jardonnet/test/Makefile (revision 1837)
+++ sandbox/jardonnet/test/Makefile (working copy)
@@ -17,12 +17,15 @@
time ./+sub.exe . . ; time ./+gsub.exe . .
-
icp:
g++ icp.cc -I../../.. -g -o '+icp_map.exe'
icp++:
- g++ icp.cc -I../../.. -O3 -DNDEBUG -o '+icp_map.exe'
+ g++ icp.cc -I../../.. -O3 -DNDEBUG -pg -o '+icp_map.exe'
+
+icp_lazy++:
+ g++ icp_lazy.cc -I../../.. -O3 -DNDEBUG -pg -o '+icp_lazy.exe'
+
icp_sub:
g++ icp_subsampled.cc -I../../.. -O3 -DNDEBUG -g -o '+icp_sub.exe'
@@ -42,7 +45,7 @@
g++ icp.cc -I../../.. -O3 -o './bin/+icp_3'
g++ icp.cc -I../../.. -O3 -ffloat-store -o './bin/+icp_3f'
g++ icp.cc -I../../.. -O3 -DNDEBUG -o './bin/+icp_3D'
- g++ icp.cc -I../../.. -O3 -DNDEBUG -ffloat-store -o './bin/+icp_3df'
+ g++ icp.cc -I../../.. -O3 -DNDEBUG -ffloat-store -o './bin/+icp_3Df'
g++ icp_lazy.cc -I../../.. -O0 -o './bin/+icp_lazy_0'
g++ icp_lazy.cc -I../../.. -O0 -ffloat-store -o './bin/+icp_lazy_0f'
g++ icp_lazy.cc -I../../.. -O0 -DNDEBUG -o './bin/+icp_lazy_0D'
@@ -50,7 +53,7 @@
g++ icp_lazy.cc -I../../.. -O3 -o './bin/+icp_lazy_3'
g++ icp_lazy.cc -I../../.. -O3 -ffloat-store -o './bin/+icp_lazy_3f'
g++ icp_lazy.cc -I../../.. -O3 -DNDEBUG -o './bin/+icp_lazy_3D'
- g++ icp_lazy.cc -I../../.. -O3 -DNDEBUG -ffloat-store -o './bin/+icp_lazy_3df'
+ g++ icp_lazy.cc -I../../.. -O3 -DNDEBUG -ffloat-store -o './bin/+icp_lazy_3Df'
./icp_check.sh
clean: