1 --------------------------------------------------------------------------------
2 Command: ./overloaded-new
3 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 --ignore-fn=_GLOBAL__sub_I_eh_alloc.cc --ignore-fn=call_init.part.0 --ignore-fn=call_init
4 ms_print arguments: massif.out
5 --------------------------------------------------------------------------------
12 | ::: ::#: ::::::::::::::::::::::::::::::::
29 0 +----------------------------------------------------------------------->KB
32 Number of snapshots: 12
33 Detailed snapshots: [6 (peak)]
35 --------------------------------------------------------------------------------
36 n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B)
37 --------------------------------------------------------------------------------
39 1 72,712 72,712 72,704 8 0
40 2 76,720 76,720 76,704 16 0
41 3 80,728 80,728 80,704 24 0
42 4 82,736 82,736 82,704 32 0
43 5 84,744 84,744 84,704 40 0
44 6 84,744 84,744 84,704 40 0
45 99.95% (84,704B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
46 ->85.79% (72,704B) 0x........: ??? (in /usr/local/lib/gcc/libstdc++.so.6.0.28)
47 | ->85.79% (72,704B) 0x........: ??? (in /libexec/ld-elf.so.1)
48 | ->85.79% (72,704B) 0x........: ??? (in /libexec/ld-elf.so.1)
49 | ->85.79% (72,704B) 0x........: ??? (in /libexec/ld-elf.so.1)
51 ->04.72% (4,000B) 0x........: main (overloaded-new.cpp:49)
53 ->04.72% (4,000B) 0x........: main (overloaded-new.cpp:50)
55 ->02.36% (2,000B) 0x........: main (overloaded-new.cpp:51)
57 ->02.36% (2,000B) 0x........: main (overloaded-new.cpp:52)
59 --------------------------------------------------------------------------------
60 n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B)
61 --------------------------------------------------------------------------------
62 7 88,752 80,736 80,704 32 0
63 8 92,760 76,728 76,704 24 0
64 9 94,768 74,720 74,704 16 0
65 10 96,776 72,712 72,704 8 0