mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-05 19:13:46 +00:00
66 lines
3.9 KiB
Plaintext
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
|
|
--------------------------------------------------------------------------------
|
|
|
|
|
|
B
|
|
600^ #
|
|
| #
|
|
| #
|
|
| #
|
|
| #
|
|
| #
|
|
| #
|
|
| @ #
|
|
| @ #
|
|
| @ #
|
|
| @ #
|
|
| @ #
|
|
| @ #
|
|
| @ #
|
|
| @ #
|
|
| @ #
|
|
| @ #
|
|
| @ #
|
|
| @ #
|
|
| @ #
|
|
0 +----------------------------------------------------------------------->KB
|
|
0 1.172
|
|
|
|
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 400 400 400 0 0
|
|
2 400 400 400 0 0
|
|
3 400 400 400 0 0
|
|
100.00% (400B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
|
|
->100.00% (400B) 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 400 400 200 200 0
|
|
5 600 600 600 0 0
|
|
6 600 600 600 0 0
|
|
100.00% (600B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
|
|
->100.00% (600B) 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 1,200 0 0 0 0
|