Files
ftmemsim-valgrind/massif/tests/realloc.post.exp
Nicholas Nethercote 4ddcff03b9 Merged r9101 (make Massif tests work if VG_MIN_MALLOC_SZB==16) from the
DARWIN branch, along with a few other minor things.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9197
2009-02-18 05:14:44 +00:00

66 lines
3.9 KiB
Plaintext

--------------------------------------------------------------------------------
Command: ./realloc
Massif arguments: --stacks=no --heap-admin=0 --time-unit=B --threshold=0 --massif-out-file=massif.out
ms_print arguments: --threshold=0 massif.out
--------------------------------------------------------------------------------
KB
1.172^ #
| #
| #
| #
| #
| #
| #
| @ #
| @ #
| @ #
| @ #
| @ #
| @ #
| @ #
| @ #
| @ #
| @ #
| @ #
| @ #
| @ #
0 +----------------------------------------------------------------------->KB
0 2.344
Number of snapshots: 8
Detailed snapshots: [3, 6 (peak)]
--------------------------------------------------------------------------------
n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B)
--------------------------------------------------------------------------------
0 0 0 0 0 0
1 800 800 800 0 0
2 800 800 800 0 0
3 800 800 800 0 0
100.00% (800B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->100.00% (800B) 0x........: main (realloc.c:8)
|
->00.00% (0B) 0x........: main (realloc.c:5)
--------------------------------------------------------------------------------
n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B)
--------------------------------------------------------------------------------
4 800 800 400 400 0
5 1,200 1,200 1,200 0 0
6 1,200 1,200 1,200 0 0
100.00% (1,200B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->100.00% (1,200B) 0x........: main (realloc.c:12)
|
->00.00% (0B) 0x........: main (realloc.c:5)
|
->00.00% (0B) 0x........: main (realloc.c:8)
|
->00.00% (0B) 0x........: main (realloc.c:10)
--------------------------------------------------------------------------------
n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B)
--------------------------------------------------------------------------------
7 2,400 0 0 0 0