1-------------------------------------------------------------------------------- 2Command: ./thresholds 3Massif arguments: --stacks=no --time-unit=B --heap-admin=0 --threshold=5 --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 4ms_print arguments: massif.out --threshold=0 5-------------------------------------------------------------------------------- 6 7 8 KB 978.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 32Number 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 48100.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| ->05.00% (4,000B) 0x........: main (thresholds.c:54) 54| | 55| ->01.50% (1,200B) in 2 places, all below massif's threshold (5.00%) 56| 57->20.00% (16,000B) 0x........: main (thresholds.c:55) 58| 59->13.00% (10,400B) 0x........: my_malloc2 (thresholds.c:28) 60| ->09.00% (7,200B) 0x........: a7550 (thresholds.c:39) 61| | ->09.00% (7,200B) 0x........: main (thresholds.c:52) 62| | 63| ->04.00% (3,200B) in 2 places, all below massif's threshold (5.00%) 64| 65->00.50% (400B) in 1 place, below massif's threshold (5.00%) 66 67