1 --------------------------------------------------------------------------------
3 Massif arguments
: --stacks
=no
--time
-unit
=B
--massif
-out
-file
=massif.out
--detailed
-freq
=1 --max-snapshots
=10 --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
--alloc
-fn
=_xpc_malloc
--ignore
-fn
=_xpc_dictionary_insert
--ignore
-fn
=map_images_nolock
--ignore
-fn
=allocBuckets
(void
*, unsigned
int) --ignore
-fn
=realizeClass
(objc_class
*) --ignore
-fn
=_NXHashRehashToCapacity
--ignore
-fn
=NXCreateHashTableFromZone
--ignore
-fn
=NXCreateMapTableFromZone
--ignore
-fn
=NXHashInsert
--ignore
-fn
=add_class_to_loadable_list
--ignore
-fn
=class_createInstance
--ignore
-fn
=xpc_string_create
--alloc
-fn
=strdup
--alloc
-fn
=_xpc_calloc
--ignore
-fn
=xpc_array_create
4 ms_print arguments
: massif.out
5 --------------------------------------------------------------------------------
14 | @@@@@@@@@@# @@@@@@@@@
24 | @@@@@@@@@@@@ @ # @ @ @
29 0 +----------------------------------------------------------------------->KB
32 Number of snapshots
: 9
33 Detailed snapshots
: [0, 1, 2, 3, 4 (peak
), 5, 6, 7, 8]
35 --------------------------------------------------------------------------------
36 n time
(B
) total(B
) useful
-heap
(B
) extra
-heap
(B
) stacks
(B
)
37 --------------------------------------------------------------------------------
39 00.00% (0B
) (heap allocation functions
) malloc
/new
/new
[], --alloc
-fns
, etc.
41 --------------------------------------------------------------------------------
42 n time
(B
) total(B
) useful
-heap
(B
) extra
-heap
(B
) stacks
(B
)
43 --------------------------------------------------------------------------------
44 1 3,672 3,672 3,600 72 0
45 98.04% (3,600B
) (heap allocation functions
) malloc
/new
/new
[], --alloc
-fns
, etc.
46 ->98.04% (3,600B
) 0x........
: main
(basic.c
:14)
48 --------------------------------------------------------------------------------
49 n time
(B
) total(B
) useful
-heap
(B
) extra
-heap
(B
) stacks
(B
)
50 --------------------------------------------------------------------------------
51 2 7,752 7,752 7,600 152 0
52 98.04% (7,600B
) (heap allocation functions
) malloc
/new
/new
[], --alloc
-fns
, etc.
53 ->98.04% (7,600B
) 0x........
: main
(basic.c
:14)
55 --------------------------------------------------------------------------------
56 n time
(B
) total(B
) useful
-heap
(B
) extra
-heap
(B
) stacks
(B
)
57 --------------------------------------------------------------------------------
58 3 11,016 11,016 10,800 216 0
59 98.04% (10,800B
) (heap allocation functions
) malloc
/new
/new
[], --alloc
-fns
, etc.
60 ->98.04% (10,800B
) 0x........
: main
(basic.c
:14)
62 --------------------------------------------------------------------------------
63 n time
(B
) total(B
) useful
-heap
(B
) extra
-heap
(B
) stacks
(B
)
64 --------------------------------------------------------------------------------
65 4 14,688 14,688 14,400 288 0
66 98.04% (14,400B
) (heap allocation functions
) malloc
/new
/new
[], --alloc
-fns
, etc.
67 ->98.04% (14,400B
) 0x........
: main
(basic.c
:14)
69 --------------------------------------------------------------------------------
70 n time
(B
) total(B
) useful
-heap
(B
) extra
-heap
(B
) stacks
(B
)
71 --------------------------------------------------------------------------------
72 5 17,952 11,424 11,200 224 0
73 98.04% (11,200B
) (heap allocation functions
) malloc
/new
/new
[], --alloc
-fns
, etc.
74 ->98.04% (11,200B
) 0x........
: main
(basic.c
:14)
76 --------------------------------------------------------------------------------
77 n time
(B
) total(B
) useful
-heap
(B
) extra
-heap
(B
) stacks
(B
)
78 --------------------------------------------------------------------------------
79 6 21,216 8,160 8,000 160 0
80 98.04% (8,000B
) (heap allocation functions
) malloc
/new
/new
[], --alloc
-fns
, etc.
81 ->98.04% (8,000B
) 0x........
: main
(basic.c
:14)
83 --------------------------------------------------------------------------------
84 n time
(B
) total(B
) useful
-heap
(B
) extra
-heap
(B
) stacks
(B
)
85 --------------------------------------------------------------------------------
86 7 24,480 4,896 4,800 96 0
87 98.04% (4,800B
) (heap allocation functions
) malloc
/new
/new
[], --alloc
-fns
, etc.
88 ->98.04% (4,800B
) 0x........
: main
(basic.c
:14)
90 --------------------------------------------------------------------------------
91 n time
(B
) total(B
) useful
-heap
(B
) extra
-heap
(B
) stacks
(B
)
92 --------------------------------------------------------------------------------
93 8 27,744 1,632 1,600 32 0
94 98.04% (1,600B
) (heap allocation functions
) malloc
/new
/new
[], --alloc
-fns
, etc.
95 ->98.04% (1,600B
) 0x........
: main
(basic.c
:14)