1 --------------------------------------------------------------------------------
3 Massif arguments
: --stacks
=no
--time
-unit
=B
--depth
=8 --massif
-out
-file
=massif.out
--ignore
-fn
=__part_load_locale
--ignore
-fn
=__time_load_locale
--ignore
-fn
=dwarf2_unwind_dyld_add_image_hook
--ignore
-fn
=get_or_create_key_element
4 ms_print arguments
: massif.out
5 --------------------------------------------------------------------------------
23 |
:::::::: : : : : @
:
25 |
:::::::: : : : : : @
:
27 |
:::::::: : : : : : : @
:
29 0 +----------------------------------------------------------------------->KB
32 Number of snapshots
: 11
33 Detailed snapshots
: [9]
35 --------------------------------------------------------------------------------
36 n time
(B
) total(B
) useful
-heap
(B
) extra
-heap
(B
) stacks
(B
)
37 --------------------------------------------------------------------------------
41 3 1,224 1,224 1,200 24 0
42 4 1,632 1,632 1,600 32 0
43 5 2,040 2,040 2,000 40 0
44 6 2,448 2,448 2,400 48 0
45 7 2,856 2,856 2,800 56 0
46 8 3,264 3,264 3,200 64 0
47 9 3,672 3,672 3,600 72 0
48 98.04% (3,600B
) (heap allocation functions
) malloc
/new
/new
[], --alloc
-fns
, etc.
49 ->98.04% (3,600B
) 0x........
: a12
(deep.c
:16)
50 ->98.04% (3,600B
) 0x........
: a11
(deep.c
:17)
51 ->98.04% (3,600B
) 0x........
: a10
(deep.c
:18)
52 ->98.04% (3,600B
) 0x........
: a9
(deep.c
:19)
53 ->98.04% (3,600B
) 0x........
: a8
(deep.c
:20)
54 ->98.04% (3,600B
) 0x........
: a7
(deep.c
:21)
55 ->98.04% (3,600B
) 0x........
: a6
(deep.c
:22)
56 ->98.04% (3,600B
) 0x........
: a5
(deep.c
:23)
58 --------------------------------------------------------------------------------
59 n time
(B
) total(B
) useful
-heap
(B
) extra
-heap
(B
) stacks
(B
)
60 --------------------------------------------------------------------------------
61 10 4,080 4,080 4,000 80 0