-------------------------------------------------------------------------------- Command: ./vectorNOResize Massif arguments: --time-unit=B --stacks=yes --massif-out-file=vectorNOResize.massif.out ms_print arguments: vectorNOResize.massif.out -------------------------------------------------------------------------------- KB 768.5^ # | # | # | # | # | # | # | #::::::::::::::::::::@@ | #: : :: : : :: : : : @ | #: : :: : : :: : : : @ | @ #: : :: : : :: : : : @ | @ #: : :: : : :: : : : @ | @ #: : :: : : :: : : : @ | @ #: : :: : : :: : : : @ | @::::::::::::::::::::#: : :: : : :: : : : @ | @: : : : : ::::: ::: #: : :: : : :: : : : @ | @: : : : : ::::: ::: #: : :: : : :: : : : @ | :::@@::::::@: : : : : ::::: ::: #: : :: : : :: : : : @ | : :@ :::: :@: : : : : ::::: ::: #: : :: : : :: : : : @ | :::::: :@ :::: :@: : : : : ::::: ::: #: : :: : : :: : : : @ 0 +----------------------------------------------------------------------->MB 0 17.12 Number of snapshots: 85 Detailed snapshots: [14, 20, 35 (peak), 47, 50, 60, 70, 80] -------------------------------------------------------------------------------- n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 0 0 0 0 0 0 1 444,136 1,888 0 0 1,888 2 876,956 1,516 0 0 1,516 3 1,153,592 952 0 0 952 4 1,560,248 8,424 8,192 8 224 5 2,007,696 16,648 16,384 8 256 6 2,383,744 33,008 32,768 8 232 7 2,584,768 33,008 32,768 8 232 8 2,918,104 65,808 65,536 8 264 9 3,338,688 65,832 65,536 8 288 10 3,600,624 65,832 65,536 8 288 11 3,906,204 65,836 65,536 8 292 12 4,234,268 131,308 131,072 8 228 13 4,714,496 131,312 131,072 8 232 14 4,976,432 131,312 131,072 8 232 99.82% (131,072B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->99.82% (131,072B) 0x8049086: __gnu_cxx::new_allocator::allocate(unsigned int, void const*) (new_allocator.h:88) ->99.82% (131,072B) 0x80490AA: std::_Vector_base >::_M_allocate(unsigned int) (stl_vector.h:127) ->99.82% (131,072B) 0x8049228: std::vector >::_M_insert_aux(__gnu_cxx::__normal_iterator > >, int const&) (vector.tcc:275) ->99.82% (131,072B) 0x804949B: std::vector >::push_back(int const&) (stl_vector.h:610) ->99.82% (131,072B) 0x8048987: main (vectorNOResize.cpp:17) -------------------------------------------------------------------------------- n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 15 5,238,368 131,312 131,072 8 232 16 5,673,108 131,308 131,072 8 228 17 5,946,416 131,312 131,072 8 232 18 6,219,728 131,312 131,072 8 232 19 6,493,040 131,312 131,072 8 232 20 6,769,388 393,724 393,216 16 492 99.87% (393,216B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->99.87% (393,216B) 0x8049086: __gnu_cxx::new_allocator::allocate(unsigned int, void const*) (new_allocator.h:88) ->99.87% (393,216B) 0x80490AA: std::_Vector_base >::_M_allocate(unsigned int) (stl_vector.h:127) ->99.87% (393,216B) 0x8049228: std::vector >::_M_insert_aux(__gnu_cxx::__normal_iterator > >, int const&) (vector.tcc:275) ->99.87% (393,216B) 0x804949B: std::vector >::push_back(int const&) (stl_vector.h:610) ->99.87% (393,216B) 0x8048987: main (vectorNOResize.cpp:17) -------------------------------------------------------------------------------- n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 21 7,062,280 262,384 262,144 8 232 22 7,518,592 262,408 262,144 8 256 23 8,006,852 262,444 262,144 8 292 24 8,516,252 262,380 262,144 8 228 25 9,040,052 262,444 262,144 8 292 26 9,563,852 262,380 262,144 8 228 27 9,836,992 262,408 262,144 8 256 28 10,110,152 262,416 262,144 8 264 29 10,383,292 262,444 262,144 8 292 30 10,659,592 262,416 262,144 8 264 31 11,041,472 262,408 262,144 8 256 32 11,423,360 262,408 262,144 8 256 33 11,614,304 262,408 262,144 8 256 34 12,146,708 786,940 786,432 16 492 35 12,146,708 786,940 786,432 16 492 99.94% (786,432B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->99.94% (786,432B) 0x8049086: __gnu_cxx::new_allocator::allocate(unsigned int, void const*) (new_allocator.h:88) ->99.94% (786,432B) 0x80490AA: std::_Vector_base >::_M_allocate(unsigned int) (stl_vector.h:127) ->99.94% (786,432B) 0x8049228: std::vector >::_M_insert_aux(__gnu_cxx::__normal_iterator > >, int const&) (vector.tcc:275) ->99.94% (786,432B) 0x804949B: std::vector >::push_back(int const&) (stl_vector.h:610) ->99.94% (786,432B) 0x8048987: main (vectorNOResize.cpp:17) -------------------------------------------------------------------------------- n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 36 12,411,252 524,780 524,288 8 484 37 12,817,716 524,588 524,288 8 292 38 13,238,016 524,560 524,288 8 264 39 13,670,476 524,588 524,288 8 292 40 14,105,176 524,552 524,288 8 256 41 14,548,876 524,588 524,288 8 292 42 14,996,176 524,560 524,288 8 264 43 15,452,476 524,588 524,288 8 292 44 15,932,616 524,552 524,288 8 256 45 16,420,416 524,560 524,288 8 264 46 16,929,376 524,560 524,288 8 264 47 17,400,692 524,700 524,288 8 404 99.92% (524,288B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->99.92% (524,288B) 0x8049086: __gnu_cxx::new_allocator::allocate(unsigned int, void const*) (new_allocator.h:88) ->99.92% (524,288B) 0x80490AA: std::_Vector_base >::_M_allocate(unsigned int) (stl_vector.h:127) ->99.92% (524,288B) 0x8049228: std::vector >::_M_insert_aux(__gnu_cxx::__normal_iterator > >, int const&) (vector.tcc:275) ->99.92% (524,288B) 0x804949B: std::vector >::push_back(int const&) (stl_vector.h:610) ->99.92% (524,288B) 0x8048987: main (vectorNOResize.cpp:17) -------------------------------------------------------------------------------- n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 48 17,924,988 404 0 0 404 49 17,951,104 280 0 0 280 50 17,951,108 284 0 0 284 00.00% (0B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 51 17,951,112 280 0 0 280 52 17,951,156 236 0 0 236 53 17,951,160 232 0 0 232 54 17,951,164 228 0 0 228 55 17,951,168 232 0 0 232 56 17,951,172 236 0 0 236 57 17,951,216 280 0 0 280 58 17,951,220 284 0 0 284 59 17,951,224 280 0 0 280 60 17,951,268 236 0 0 236 00.00% (0B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 61 17,951,272 232 0 0 232 62 17,951,276 228 0 0 228 63 17,951,280 232 0 0 232 64 17,951,284 236 0 0 236 65 17,951,328 280 0 0 280 66 17,951,332 284 0 0 284 67 17,951,336 280 0 0 280 68 17,951,380 236 0 0 236 69 17,951,384 232 0 0 232 70 17,951,388 228 0 0 228 00.00% (0B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 71 17,951,392 232 0 0 232 72 17,951,396 236 0 0 236 73 17,951,440 280 0 0 280 74 17,951,444 284 0 0 284 75 17,951,448 280 0 0 280 76 17,951,492 236 0 0 236 77 17,951,496 232 0 0 232 78 17,951,500 228 0 0 228 79 17,951,504 224 0 0 224 80 17,951,508 220 0 0 220 00.00% (0B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 81 17,951,512 216 0 0 216 82 17,951,516 212 0 0 212 83 17,951,520 208 0 0 208 84 17,951,524 204 0 0 204