1 -------------------------------------------------------------------------------- 2 Command: ./insig 3 Massif arguments: --stacks=no --time-unit=B --heap-admin=128 --massif-out-file=massif.out --threshold=0.99 --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 5 -------------------------------------------------------------------------------- 6 7 8 KB 9 19.23^ : 10 | :@:: 11 | ::::@:: 12 | :::@::::@:: 13 | ::::::@::::@:: 14 | : ::::@::::@:: 15 | : ::::@::::@:: 16 | : ::::@::::@:: 17 | : ::::@::::@:: 18 | : ::::@::::@:: 19 | : ::::@::::@:: 20 | : ::::@::::@:: 21 | : ::::@::::@:: 22 | : ::::@::::@:: 23 | : ::::@::::@:: 24 | : ::::@::::@:: 25 | : ::::@::::@:: 26 | : ::::@::::@:: 27 | : ::::@::::@:: 28 | : ::::@::::@:: 29 0 +----------------------------------------------------------------------->KB 30 0 19.23 31 32 Number of snapshots: 24 33 Detailed snapshots: [9, 19] 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 16,128 16,128 16,000 128 0 40 2 16,496 16,496 16,240 256 0 41 3 16,816 16,816 16,432 384 0 42 4 16,960 16,960 16,448 512 0 43 5 17,104 17,104 16,464 640 0 44 6 17,248 17,248 16,480 768 0 45 7 17,392 17,392 16,496 896 0 46 8 17,536 17,536 16,512 1,024 0 47 9 17,680 17,680 16,528 1,152 0 48 93.48% (16,528B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 49 ->90.50% (16,000B) 0x........: main (insig.c:8) 50 | 51 ->01.36% (240B) 0x........: main (insig.c:9) 52 | 53 ->01.09% (192B) 0x........: main (insig.c:10) 54 | 55 ->00.54% (96B) in 1+ places, all below ms_print's threshold (01.00%) 56 57 -------------------------------------------------------------------------------- 58 n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B) 59 -------------------------------------------------------------------------------- 60 10 17,824 17,824 16,544 1,280 0 61 11 17,968 17,968 16,560 1,408 0 62 12 18,112 18,112 16,576 1,536 0 63 13 18,256 18,256 16,592 1,664 0 64 14 18,400 18,400 16,608 1,792 0 65 15 18,544 18,544 16,624 1,920 0 66 16 18,688 18,688 16,640 2,048 0 67 17 18,832 18,832 16,656 2,176 0 68 18 18,976 18,976 16,672 2,304 0 69 19 19,120 19,120 16,688 2,432 0 70 87.28% (16,688B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 71 ->83.68% (16,000B) 0x........: main (insig.c:8) 72 | 73 ->01.34% (256B) in 16 places, all below massif's threshold (00.99%) 74 | 75 ->01.26% (240B) 0x........: main (insig.c:9) 76 | 77 ->01.00% (192B) 0x........: main (insig.c:10) 78 79 -------------------------------------------------------------------------------- 80 n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B) 81 -------------------------------------------------------------------------------- 82 20 19,264 19,264 16,704 2,560 0 83 21 19,408 19,408 16,720 2,688 0 84 22 19,552 19,552 16,736 2,816 0 85 23 19,696 19,696 16,752 2,944 0 86