1 -------------------------------------------------------------------------------- 2 Command: ./thresholds 3 Massif arguments: --stacks=no --time-unit=B --heap-admin=0 --threshold=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 4 ms_print arguments: massif.out --threshold=10 5 -------------------------------------------------------------------------------- 6 7 8 KB 9 78.12^ @ 10 | @ 11 | @ 12 | @ 13 | @ 14 | ::::::::::::::@ 15 | ::::::: @ 16 | ::::: : @ 17 | ::::::: ::: : @ 18 | : : ::: : @ 19 | : : ::: : @ 20 | : : ::: : @ 21 | : : ::: : @ 22 | : : ::: : @ 23 | : : ::: : @ 24 | : : ::: : @ 25 | : : ::: : @ 26 | : : ::: : @ 27 | : : ::: : @ 28 | : : ::: : @ 29 0 +----------------------------------------------------------------------->KB 30 0 78.12 31 32 Number of snapshots: 10 33 Detailed snapshots: [9] 34 35 -------------------------------------------------------------------------------- 36 n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B) 37 -------------------------------------------------------------------------------- 38 0 0 0 0 0 0 39 1 48,000 48,000 48,000 0 0 40 2 55,200 55,200 55,200 0 0 41 3 57,600 57,600 57,600 0 0 42 4 58,400 58,400 58,400 0 0 43 5 59,200 59,200 59,200 0 0 44 6 59,600 59,600 59,600 0 0 45 7 63,600 63,600 63,600 0 0 46 8 79,600 79,600 79,600 0 0 47 9 80,000 80,000 80,000 0 0 48 100.00% (80,000B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 49 ->66.50% (53,200B) 0x........: my_malloc1 (thresholds.c:23) 50 | ->60.00% (48,000B) 0x........: a7550 (thresholds.c:38) 51 | | ->60.00% (48,000B) 0x........: main (thresholds.c:52) 52 | | 53 | ->06.50% (5,200B) in 3+ places, all below ms_print's threshold (10.00%) 54 | 55 ->20.00% (16,000B) 0x........: main (thresholds.c:55) 56 | 57 ->13.00% (10,400B) 0x........: my_malloc2 (thresholds.c:28) 58 | ->13.00% (10,400B) in 3+ places, all below ms_print's threshold (10.00%) 59 | 60 ->00.50% (400B) in 1+ places, all below ms_print's threshold (10.00%) 61 62