1 --------------------------------------------------------------------------------
3 Massif arguments
: --stacks
=no
--time
-unit
=B
--heap
-admin
=0 --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
--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 --------------------------------------------------------------------------------
25 |
::::::::: : : : : : @
27 |
::::::::: : : : : : : @
29 0 +----------------------------------------------------------------------->KB
32 Number of snapshots
: 10
33 Detailed snapshots
: [9]
35 --------------------------------------------------------------------------------
36 n time
(B
) total(B
) useful
-heap
(B
) extra
-heap
(B
) stacks
(B
)
37 --------------------------------------------------------------------------------
41 3 1,200 1,200 1,200 0 0
42 4 1,600 1,600 1,600 0 0
43 5 2,000 2,000 2,000 0 0
44 6 2,400 2,400 2,400 0 0
45 7 2,800 2,800 2,800 0 0
46 8 3,200 3,200 3,200 0 0
47 9 3,600 3,600 3,600 0 0
48 100.00% (3,600B
) (heap allocation functions
) malloc
/new
/new
[], --alloc
-fns
, etc.
49 ->44.44% (1,600B
) 0x........
: d4
(alloc
-fns.c
:18)
50 |
->33.33% (1,200B
) 0x........
: d3
(alloc
-fns.c
:19)
51 | |
->22.22% (800B
) 0x........
: d2
(alloc
-fns.c
:20)
52 | | |
->11.11% (400B
) 0x........
: d1
(alloc
-fns.c
:21)
53 | | | |
->11.11% (400B
) 0x........
: main
(alloc
-fns.c
:30)
55 | | |
->11.11% (400B
) 0x........
: main
(alloc
-fns.c
:31)
57 | |
->11.11% (400B
) 0x........
: main
(alloc
-fns.c
:32)
59 |
->11.11% (400B
) 0x........
: main
(alloc
-fns.c
:33)
61 ->33.33% (1,200B
) 0x........
: a4
(alloc
-fns.c
:3)
62 |
->33.33% (1,200B
) 0x........
: a3
(alloc
-fns.c
:4)
63 |
->33.33% (1,200B
) 0x........
: a2
(alloc
-fns.c
:5)
64 |
->33.33% (1,200B
) 0x........
: a1
(alloc
-fns.c
:6)
65 |
->11.11% (400B
) 0x........
: main
(alloc
-fns.c
:25)
67 |
->11.11% (400B
) 0x........
: main
(alloc
-fns.c
:26)
69 |
->11.11% (400B
) 0x........
: main
(alloc
-fns.c
:27)
71 ->11.11% (400B
) 0x........
: b4
(alloc
-fns.c
:8)
72 |
->11.11% (400B
) 0x........
: b3
(alloc
-fns.c
:9)
73 |
->11.11% (400B
) 0x........
: b2
(alloc
-fns.c
:10)
74 |
->11.11% (400B
) 0x........
: b1
(alloc
-fns.c
:11)
75 |
->11.11% (400B
) 0x........
: main
(alloc
-fns.c
:28)
77 ->11.11% (400B
) 0x........
: c4
(alloc
-fns.c
:13)
78 ->11.11% (400B
) 0x........
: c3
(alloc
-fns.c
:14)
79 ->11.11% (400B
) 0x........
: c2
(alloc
-fns.c
:15)
80 ->11.11% (400B
) 0x........
: c1
(alloc
-fns.c
:16)
81 ->11.11% (400B
) 0x........
: main
(alloc
-fns.c
:29)