1
--------------------------------------------------------------------------------
2
Command: ./custom_alloc
3
Massif arguments: --stacks=no --time-unit=B --massif-out-file=massif.out
4
ms_print arguments: massif.out
5
--------------------------------------------------------------------------------
29
0 +----------------------------------------------------------------------->KB
32
Number of snapshots: 11
33
Detailed snapshots: [2, 5 (peak)]
35
--------------------------------------------------------------------------------
36
n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B)
37
--------------------------------------------------------------------------------
41
92.59% (100B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
42
->92.59% (100B) 0x........: custom_alloc (custom_alloc.c:41)
43
->92.59% (100B) 0x........: main (custom_alloc.c:60)
45
--------------------------------------------------------------------------------
46
n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B)
47
--------------------------------------------------------------------------------
51
96.15% (200B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
52
->96.15% (200B) 0x........: custom_alloc (custom_alloc.c:41)
53
->96.15% (200B) 0x........: main (custom_alloc.c:63)
55
->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%)
57
--------------------------------------------------------------------------------
58
n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B)
59
--------------------------------------------------------------------------------