Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Rha!
authoralegrand <alegrand@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 29 Nov 2004 18:45:39 +0000 (18:45 +0000)
committeralegrand <alegrand@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 29 Nov 2004 18:45:39 +0000 (18:45 +0000)
commit24b8008bb424160e633b1374f54dcd89bdcb9749
tree78044700ef88953e2d5647ff283920465f473185
parent15807bea7353de99396547e065c5d33bbf75ce56
Rha!

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
12 files changed:
include/xbt/swag.h
src/include/surf/surf.h
src/include/surf/trace_mgr.h
src/surf/cpu.c
src/surf/surf.c
src/surf/surf_private.h
src/surf/trace_mgr.c
src/xbt/fifo.c
src/xbt/heap.c
src/xbt/log.c
src/xbt/swag.c
testsuite/surf/surf_usage.c