surf:~/Work/GRAS/heap $ valgrind --num-callers=8 --show-reachable=yes
--leak-check=yes --db-attach=yes ./surf_usage
==28483== Memcheck, a memory error detector for x86-linux.
==28483== Copyright (C) 2002-2004, and GNU GPL'd, by Julian Seward et al.
==28483== Using valgrind-2.2.0, a program supervision framework for x86-linux.
==28483== Copyright (C) 2000-2004, and GNU GPL'd, by Julian Seward et al.
==28483== For more details, rerun with: -v
==28483==
0x1bac5a40
Cpu A : 0x1bac6b10
Cpu B : 0x1bac6e10
actionA : 0x1bac7140 (SURF_ACTION_RUNNING)
actionB : 0x1bac7288 (SURF_ACTION_RUNNING)
[0] Asking to update "Cpu A" with value 1 for event 0x1bac6b70
[0] Asking to update "Cpu B" with value 1 for event 0x1bac6e70
[0] Asking to update "Cpu A" with value -1 for event 0x1bac6bb0
Next Event : 0
Failed : 0x1bac7140
[0] Asking to update "Cpu A" with value 1 for event 0x1bac6bb0
Next Event : 1
Next Event : 10
Done : 0x1bac7288
Simulation Terminated
==28483==
==28483== ERROR SUMMARY: 0 errors from 0 contexts
(suppressed: 17 from 1)
==28483== malloc/free: in use at exit: 0 bytes in 0 blocks.
==28483== malloc/free: 77 allocs, 77 frees, 5279 bytes allocated.
==28483== For counts of detected errors, rerun with: -v
==28483== No malloc'd blocks -- no leaks are possible.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@528
48e7efb5-ca39-0410-a469-
dd3cf9ba447f