1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152
|
--------------------------------------------------------------------------------
Command: ./basic
Massif arguments: --stacks=no --time-unit=B --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
ms_print arguments: massif.out
--------------------------------------------------------------------------------
KB
14.34^ #
| :#:
| :::#:::
| :::::#:::::
| @::::::#:::::::
| ::@::::::#:::::::::
| :::@::::::#:::::::::@
| :::::@::::::#:::::::::@::
| :::::::@::::::#:::::::::@::::
| :::::::::@::::::#:::::::::@::::::
| :@:::::::::@::::::#:::::::::@::::::::
| ::@:::::::::@::::::#:::::::::@:::::::::
| ::::@:::::::::@::::::#:::::::::@:::::::::@:
| ::::::@:::::::::@::::::#:::::::::@:::::::::@:::
| ::::::::@:::::::::@::::::#:::::::::@:::::::::@:::::
| @:::::::::@:::::::::@::::::#:::::::::@:::::::::@:::::::
| :@:::::::::@:::::::::@::::::#:::::::::@:::::::::@::::::::
| :::@:::::::::@:::::::::@::::::#:::::::::@:::::::::@:::::::::@
| :::::@:::::::::@:::::::::@::::::#:::::::::@:::::::::@:::::::::@::
| :::::::@:::::::::@:::::::::@::::::#:::::::::@:::::::::@:::::::::@::::
0 +----------------------------------------------------------------------->KB
0 28.29
Number of snapshots: 73
Detailed snapshots: [9, 19, 29, 37 (peak), 47, 57, 67]
--------------------------------------------------------------------------------
n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B)
--------------------------------------------------------------------------------
0 0 0 0 0 0
1 408 408 400 8 0
2 816 816 800 16 0
3 1,224 1,224 1,200 24 0
4 1,632 1,632 1,600 32 0
5 2,040 2,040 2,000 40 0
6 2,448 2,448 2,400 48 0
7 2,856 2,856 2,800 56 0
8 3,264 3,264 3,200 64 0
9 3,672 3,672 3,600 72 0
98.04% (3,600B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->98.04% (3,600B) 0x........: main (basic.c:14)
--------------------------------------------------------------------------------
n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B)
--------------------------------------------------------------------------------
10 4,080 4,080 4,000 80 0
11 4,488 4,488 4,400 88 0
12 4,896 4,896 4,800 96 0
13 5,304 5,304 5,200 104 0
14 5,712 5,712 5,600 112 0
15 6,120 6,120 6,000 120 0
16 6,528 6,528 6,400 128 0
17 6,936 6,936 6,800 136 0
18 7,344 7,344 7,200 144 0
19 7,752 7,752 7,600 152 0
98.04% (7,600B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->98.04% (7,600B) 0x........: main (basic.c:14)
--------------------------------------------------------------------------------
n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B)
--------------------------------------------------------------------------------
20 8,160 8,160 8,000 160 0
21 8,568 8,568 8,400 168 0
22 8,976 8,976 8,800 176 0
23 9,384 9,384 9,200 184 0
24 9,792 9,792 9,600 192 0
25 10,200 10,200 10,000 200 0
26 10,608 10,608 10,400 208 0
27 11,016 11,016 10,800 216 0
28 11,424 11,424 11,200 224 0
29 11,832 11,832 11,600 232 0
98.04% (11,600B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->98.04% (11,600B) 0x........: main (basic.c:14)
--------------------------------------------------------------------------------
n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B)
--------------------------------------------------------------------------------
30 12,240 12,240 12,000 240 0
31 12,648 12,648 12,400 248 0
32 13,056 13,056 12,800 256 0
33 13,464 13,464 13,200 264 0
34 13,872 13,872 13,600 272 0
35 14,280 14,280 14,000 280 0
36 14,688 14,688 14,400 288 0
37 14,688 14,688 14,400 288 0
98.04% (14,400B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->98.04% (14,400B) 0x........: main (basic.c:14)
--------------------------------------------------------------------------------
n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B)
--------------------------------------------------------------------------------
38 15,096 14,280 14,000 280 0
39 15,504 13,872 13,600 272 0
40 15,912 13,464 13,200 264 0
41 16,320 13,056 12,800 256 0
42 16,728 12,648 12,400 248 0
43 17,136 12,240 12,000 240 0
44 17,544 11,832 11,600 232 0
45 17,952 11,424 11,200 224 0
46 18,360 11,016 10,800 216 0
47 18,768 10,608 10,400 208 0
98.04% (10,400B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->98.04% (10,400B) 0x........: main (basic.c:14)
--------------------------------------------------------------------------------
n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B)
--------------------------------------------------------------------------------
48 19,176 10,200 10,000 200 0
49 19,584 9,792 9,600 192 0
50 19,992 9,384 9,200 184 0
51 20,400 8,976 8,800 176 0
52 20,808 8,568 8,400 168 0
53 21,216 8,160 8,000 160 0
54 21,624 7,752 7,600 152 0
55 22,032 7,344 7,200 144 0
56 22,440 6,936 6,800 136 0
57 22,848 6,528 6,400 128 0
98.04% (6,400B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->98.04% (6,400B) 0x........: main (basic.c:14)
--------------------------------------------------------------------------------
n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B)
--------------------------------------------------------------------------------
58 23,256 6,120 6,000 120 0
59 23,664 5,712 5,600 112 0
60 24,072 5,304 5,200 104 0
61 24,480 4,896 4,800 96 0
62 24,888 4,488 4,400 88 0
63 25,296 4,080 4,000 80 0
64 25,704 3,672 3,600 72 0
65 26,112 3,264 3,200 64 0
66 26,520 2,856 2,800 56 0
67 26,928 2,448 2,400 48 0
98.04% (2,400B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->98.04% (2,400B) 0x........: main (basic.c:14)
--------------------------------------------------------------------------------
n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B)
--------------------------------------------------------------------------------
68 27,336 2,040 2,000 40 0
69 27,744 1,632 1,600 32 0
70 28,152 1,224 1,200 24 0
71 28,560 816 800 16 0
72 28,968 408 400 8 0
|