1--------------------------------------------------------------------------------
2Command:            ./basic
3Massif 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
4ms_print arguments: massif.out
5--------------------------------------------------------------------------------
6
7
8    KB
914.34^                                      ########
10     |                                      #
11     |                                      #
12     |                                      #
13     |                                      #
14     |                            @@@@@@@@@@#       @@@@@@@@@
15     |                            @         #       @
16     |                            @         #       @
17     |                            @         #       @
18     |                            @         #       @        @@@@@@@@
19     |                    @@@@@@@@@         #       @        @
20     |                    @       @         #       @        @
21     |                    @       @         #       @        @
22     |                    @       @         #       @        @
23     |                    @       @         #       @        @       @@@@@@@@
24     |         @@@@@@@@@@@@       @         #       @        @       @
25     |         @          @       @         #       @        @       @
26     |         @          @       @         #       @        @       @
27     |         @          @       @         #       @        @       @       @
28     |         @          @       @         #       @        @       @       @
29   0 +----------------------------------------------------------------------->KB
30     0                                                                   27.09
31
32Number of snapshots: 9
33 Detailed snapshots: [0, 1, 2, 3, 4 (peak), 5, 6, 7, 8]
34
35--------------------------------------------------------------------------------
36  n        time(B)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
37--------------------------------------------------------------------------------
38  0              0                0                0             0            0
3900.00% (0B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
40
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
4598.04% (3,600B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
46->98.04% (3,600B) 0x........: main (basic.c:14)
47
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
5298.04% (7,600B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
53->98.04% (7,600B) 0x........: main (basic.c:14)
54
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
5998.04% (10,800B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
60->98.04% (10,800B) 0x........: main (basic.c:14)
61
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
6698.04% (14,400B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
67->98.04% (14,400B) 0x........: main (basic.c:14)
68
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
7398.04% (11,200B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
74->98.04% (11,200B) 0x........: main (basic.c:14)
75
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
8098.04% (8,000B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
81->98.04% (8,000B) 0x........: main (basic.c:14)
82
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
8798.04% (4,800B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
88->98.04% (4,800B) 0x........: main (basic.c:14)
89
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
9498.04% (1,600B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
95->98.04% (1,600B) 0x........: main (basic.c:14)
96
97