surf:~/Work/GRAS/heap $ valgrind --leak-check=yes --show-reachable=yes ./msg_test les
...
[421.531] P3 | I'm done. See you!
MSG: Congratulations ! Simulation terminated : all process are over
Simulation time 421.531
==8295==
==8295== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 17 from 1)
==8295== malloc/free: in use at exit: 0 bytes in 0 blocks.
==8295== malloc/free: 195685 allocs, 195685 frees,
6498475 bytes allocated.
==8295== For counts of detected errors, rerun with: -v
==8295== No malloc'd blocks -- no leaks are possible.
Rha! The very good news is that this code (msg_test) behaves exactly in the same way as with the old MSG version. And it is a way faster !!! :)
Before :
real 0m3.130s
user 0m2.290s
sys 0m0.030s
Now :
real 0m0.392s
user 0m0.290s
sys 0m0.000s
Cool, isnt'it ? :)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@705
48e7efb5-ca39-0410-a469-
dd3cf9ba447f