1-------------------------------------------------------------------------------- 2Command: ./thresholds 3Massif 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 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.00% (800B) 0x........: a450 (thresholds.c:45) 56| | ->01.00% (800B) 0x........: main (thresholds.c:53) 57| | 58| ->00.50% (400B) 0x........: a450 (thresholds.c:47) 59| ->00.50% (400B) 0x........: main (thresholds.c:53) 60| 61->20.00% (16,000B) 0x........: main (thresholds.c:55) 62| 63->13.00% (10,400B) 0x........: my_malloc2 (thresholds.c:28) 64| ->09.00% (7,200B) 0x........: a7550 (thresholds.c:39) 65| | ->09.00% (7,200B) 0x........: main (thresholds.c:52) 66| | 67| ->03.00% (2,400B) 0x........: a450 (thresholds.c:44) 68| | ->03.00% (2,400B) 0x........: main (thresholds.c:53) 69| | 70| ->01.00% (800B) 0x........: a450 (thresholds.c:46) 71| ->01.00% (800B) 0x........: main (thresholds.c:53) 72| 73->00.50% (400B) 0x........: my_malloc3 (thresholds.c:33) 74 ->00.50% (400B) 0x........: main (thresholds.c:56) 75 76