Functionnal benchmarking macros :
It seems to be working fine.
surf:~/Work/GRAS/gras/examples/gras/chrono $ time ./test_sg ; time ./test_rl
xbt/module.c:44: [module/INFO] Initialize XBT
gras/gras.c:27: [gras/INFO] Initialize GRAS
chrono.c:32: [Chrono/INFO] Before computation: 0
chrono.c:52: [Chrono/INFO] After computation: 15.7531; Duration: 15.7531
MSG: Congratulations ! Simulation terminated : all process are over
real 0m4.002s
user 0m3.940s
sys 0m0.030s
gras/gras.c:27: [gras/INFO] Initialize GRAS
xbt/module.c:44: [module/INFO] Initialize XBT
chrono.c:32: [Chrono/INFO] Before computation: 1.10862e+09
chrono.c:52: [Chrono/INFO] After computation: 1.10862e+09; Duration: 15.6633
real 0m15.729s
user 0m15.550s
sys 0m0.060s
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1032 48e7efb5-ca39-0410-a469-dd3cf9ba447f
- [D] include/gras/chrono.h