ms_print --threshold=10 massif.out -------------------------------------------------------------------------------- Command: ./ast_printer -nsf /usr/portage/eclass/versionator.eclass Massif arguments: --massif-out-file=massif.out ms_print arguments: --threshold=10 massif.out -------------------------------------------------------------------------------- MB 10.35^ # | @::# | :::@::# | ::::@::# | ::@:::::@::# | @:::::@:::::@::# | :::@:::::@:::::@::# | :::::::@:::::@:::::@::# | ::::@:::::::@:::::@:::::@::# | ::::::@:::::::@:::::@:::::@::# | ::::::::::@:::::::@:::::@:::::@::# | :::::::::::::@:::::::@:::::@:::::@::# | :::::::::::::::::@:::::::@:::::@:::::@::# | ::@::::::::::::::::::@:::::::@:::::@:::::@::# | ::::::@::::::::::::::::::@:::::::@:::::@:::::@::# | @::::::::@::::::::::::::::::@:::::::@:::::@:::::@::#: | :::@::::::::@::::::::::::::::::@:::::::@:::::@:::::@::#: | ::::: :@::::::::@::::::::::::::::::@:::::::@:::::@:::::@::#: | ::@@::: : : :@::::::::@::::::::::::::::::@:::::::@:::::@:::::@::#: | ::@ : : : : :@::::::::@::::::::::::::::::@:::::::@:::::@:::::@::#: 0 +----------------------------------------------------------------------->Mi 0 57.83 Number of snapshots: 85 Detailed snapshots: [5, 11, 22, 45, 56, 66, 76, 82 (peak)] -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 0 0 0 0 0 0 1 4,303,988 40 28 12 0 2 5,158,986 1,125,144 1,123,365 1,779 0 3 5,638,257 1,132,312 1,130,533 1,779 0 4 6,285,242 1,140,504 1,138,725 1,779 0 5 7,170,115 1,140,504 1,138,733 1,771 0 99.84% (1,138,733B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->47.41% (540,672B) 0x50A99D6: newPool (in /usr/lib64/libantlr3c.so) | ->47.41% (540,672B) 0x50A9D0A: antlr3TokenFactoryNew (in /usr/lib64/libantlr3c.so) | ->23.70% (270,336B) 0x50AF05E: setCharStream (in /usr/lib64/libantlr3c.so) | | ->23.70% (270,336B) 0x50AFB7A: antlr3LexerNewStream (in /usr/lib64/libantlr3c.so) | | ->23.70% (270,336B) 0x249FBB: libbashLexerNewSSD (libbashLexer.cpp:464) | | ->23.70% (270,336B) 0x249F4D: libbashLexerNew (libbashLexer.cpp:427) | | ->23.70% (270,336B) 0x245263: bash_ast::init_parser(std::string const&, std::string const&) (bash_ast.cpp:96) | | ->23.70% (270,336B) 0x244AC7: bash_ast::bash_ast(std::istream const&, std::function) (bash_ast.cpp:43) | | ->23.70% (270,336B) 0x13C8F2: print_ast(std::istream&, bool, bool) (ast_printer.cpp:57) | | ->23.70% (270,336B) 0x155E76: _ZNSt5_BindIFPFvRSibbESt12_PlaceholderILi1EEmmEE6__callIvIS0_EILi0ELi1ELi2EEEET_OSt5tupleIIDpT0_EESt12_Index_tupleIIXspT1_EEE (functional:1115) | | ->23.70% (270,336B) 0x15395C: void std::_Bind, unsigned long, unsigned long))(std::istream&, bool, bool)>::operator()(std::istream&&&) (functional:1165) | | ->23.70% (270,336B) 0x14FF6F: std::_Function_handler, unsigned long, unsigned long))(std::istream&, bool, bool)> >::_M_invoke(std::_Any_data const&, std::istream&) (functional:1713) | | ->23.70% (270,336B) 0x145CA8: std::function::operator()(std::istream&) const (functional:2116) | | ->23.70% (270,336B) 0x13D99C: print_files(std::vector > const&, bool, std::function) (ast_printer.cpp:157) | | ->23.70% (270,336B) 0x13E3F1: main (ast_printer.cpp:226) | | | ->23.70% (270,336B) 0x50AB3B6: ANTLR3_TREE_ADAPTORNew (in /usr/lib64/libantlr3c.so) | ->23.70% (270,336B) 0x252345: libbashParserNewSSD (libbashParser.cpp:999) | ->23.70% (270,336B) 0x2512C7: libbashParserNew (libbashParser.cpp:725) | ->23.70% (270,336B) 0x2453F9: bash_ast::init_parser(std::string const&, std::string const&) (bash_ast.cpp:105) | ->23.70% (270,336B) 0x244AC7: bash_ast::bash_ast(std::istream const&, std::function) (bash_ast.cpp:43) | ->23.70% (270,336B) 0x13C8F2: print_ast(std::istream&, bool, bool) (ast_printer.cpp:57) | ->23.70% (270,336B) 0x155E76: _ZNSt5_BindIFPFvRSibbESt12_PlaceholderILi1EEmmEE6__callIvIS0_EILi0ELi1ELi2EEEET_OSt5tupleIIDpT0_EESt12_Index_tupleIIXspT1_EEE (functional:1115) | ->23.70% (270,336B) 0x15395C: void std::_Bind, unsigned long, unsigned long))(std::istream&, bool, bool)>::operator()(std::istream&&&) (functional:1165) | ->23.70% (270,336B) 0x14FF6F: std::_Function_handler, unsigned long, unsigned long))(std::istream&, bool, bool)> >::_M_invoke(std::_Any_data const&, std::istream&) (functional:1713) | ->23.70% (270,336B) 0x145CA8: std::function::operator()(std::istream&) const (functional:2116) | ->23.70% (270,336B) 0x13D99C: print_files(std::vector > const&, bool, std::function) (ast_printer.cpp:157) | ->23.70% (270,336B) 0x13E3F1: main (ast_printer.cpp:226) | ->28.01% (319,488B) 0x50AA5C6: newPool (in /usr/lib64/libantlr3c.so) | ->28.01% (319,488B) 0x50AA7D0: antlr3ArboretumNew (in /usr/lib64/libantlr3c.so) | ->28.01% (319,488B) 0x50AB3A8: ANTLR3_TREE_ADAPTORNew (in /usr/lib64/libantlr3c.so) | ->28.01% (319,488B) 0x252345: libbashParserNewSSD (libbashParser.cpp:999) | ->28.01% (319,488B) 0x2512C7: libbashParserNew (libbashParser.cpp:725) | ->28.01% (319,488B) 0x2453F9: bash_ast::init_parser(std::string const&, std::string const&) (bash_ast.cpp:105) | ->28.01% (319,488B) 0x244AC7: bash_ast::bash_ast(std::istream const&, std::function) (bash_ast.cpp:43) | ->28.01% (319,488B) 0x13C8F2: print_ast(std::istream&, bool, bool) (ast_printer.cpp:57) | ->28.01% (319,488B) 0x155E76: _ZNSt5_BindIFPFvRSibbESt12_PlaceholderILi1EEmmEE6__callIvIS0_EILi0ELi1ELi2EEEET_OSt5tupleIIDpT0_EESt12_Index_tupleIIXspT1_EEE (functional:1115) | ->28.01% (319,488B) 0x15395C: void std::_Bind, unsigned long, unsigned long))(std::istream&, bool, bool)>::operator()(std::istream&&&) (functional:1165) | ->28.01% (319,488B) 0x14FF6F: std::_Function_handler, unsigned long, unsigned long))(std::istream&, bool, bool)> >::_M_invoke(std::_Any_data const&, std::istream&) (functional:1713) | ->28.01% (319,488B) 0x145CA8: std::function::operator()(std::istream&) const (functional:2116) | ->28.01% (319,488B) 0x13D99C: print_files(std::vector > const&, bool, std::function) (ast_printer.cpp:157) | ->28.01% (319,488B) 0x13E3F1: main (ast_printer.cpp:226) | ->15.80% (180,224B) 0x50A8376: newPool (in /usr/lib64/libantlr3c.so) | ->15.80% (180,224B) 0x50A906B: antlr3VectorFactoryNew (in /usr/lib64/libantlr3c.so) | ->15.80% (180,224B) in 2+ places, all below ms_print's threshold (10.00%) | ->08.62% (98,349B) in 3+ places, all below ms_print's threshold (10.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 6 9,248,230 1,427,248 1,425,461 1,787 0 7 10,803,640 1,730,360 1,728,573 1,787 0 8 12,570,990 2,000,720 1,998,917 1,803 0 9 14,082,178 2,336,600 2,334,797 1,803 0 10 15,915,910 2,606,960 2,605,141 1,819 0 11 16,505,203 2,898,240 2,892,005 6,235 0 99.78% (2,892,005B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->74.62% (2,162,688B) 0x50A99D6: newPool (in /usr/lib64/libantlr3c.so) | ->55.97% (1,622,016B) 0x50A9DEB: newPoolToken (in /usr/lib64/libantlr3c.so) | | ->55.97% (1,622,016B) 0x50AEA2C: emit (in /usr/lib64/libantlr3c.so) | | ->55.97% (1,622,016B) 0x50AF8A3: nextToken (in /usr/lib64/libantlr3c.so) | | ->55.97% (1,622,016B) 0x50B368D: fillBuffer (in /usr/lib64/libantlr3c.so) | | ->55.97% (1,622,016B) 0x50B3B54: tokLT (in /usr/lib64/libantlr3c.so) | | ->55.97% (1,622,016B) 0x2755A6: start(libbashParser_Ctx_struct*) (libbashParser.cpp:26356) | | ->55.97% (1,622,016B) 0x24603F: bash_ast::parser_start(libbashParser_Ctx_struct*) (bash_ast.cpp:216) | | ->55.97% (1,622,016B) 0x147C3A: std::_Function_handler::_M_invoke(std::_Any_data const&, libbashParser_Ctx_struct*) (functional:1699) | | ->55.97% (1,622,016B) 0x246C8E: std::function::operator()(libbashParser_Ctx_struct*) const (functional:2116) | | ->55.97% (1,622,016B) 0x2454CB: bash_ast::init_parser(std::string const&, std::string const&) (bash_ast.cpp:109) | | ->55.97% (1,622,016B) 0x244AC7: bash_ast::bash_ast(std::istream const&, std::function) (bash_ast.cpp:43) | | ->55.97% (1,622,016B) 0x13C8F2: print_ast(std::istream&, bool, bool) (ast_printer.cpp:57) | | ->55.97% (1,622,016B) 0x155E76: _ZNSt5_BindIFPFvRSibbESt12_PlaceholderILi1EEmmEE6__callIvIS0_EILi0ELi1ELi2EEEET_OSt5tupleIIDpT0_EESt12_Index_tupleIIXspT1_EEE (functional:1115) | | ->55.97% (1,622,016B) 0x15395C: void std::_Bind, unsigned long, unsigned long))(std::istream&, bool, bool)>::operator()(std::istream&&&) (functional:1165) | | ->55.97% (1,622,016B) 0x14FF6F: std::_Function_handler, unsigned long, unsigned long))(std::istream&, bool, bool)> >::_M_invoke(std::_Any_data const&, std::istream&) (functional:1713) | | ->55.97% (1,622,016B) 0x145CA8: std::function::operator()(std::istream&) const (functional:2116) | | ->55.97% (1,622,016B) 0x13D99C: print_files(std::vector > const&, bool, std::function) (ast_printer.cpp:157) | | ->55.97% (1,622,016B) 0x13E3F1: main (ast_printer.cpp:226) | | | ->18.66% (540,672B) 0x50A9D0A: antlr3TokenFactoryNew (in /usr/lib64/libantlr3c.so) | ->18.66% (540,672B) in 2+ places, all below ms_print's threshold (10.00%) | ->11.02% (319,488B) 0x50AA5C6: newPool (in /usr/lib64/libantlr3c.so) | ->11.02% (319,488B) 0x50AA7D0: antlr3ArboretumNew (in /usr/lib64/libantlr3c.so) | ->11.02% (319,488B) 0x50AB3A8: ANTLR3_TREE_ADAPTORNew (in /usr/lib64/libantlr3c.so) | ->11.02% (319,488B) 0x252345: libbashParserNewSSD (libbashParser.cpp:999) | ->11.02% (319,488B) 0x2512C7: libbashParserNew (libbashParser.cpp:725) | ->11.02% (319,488B) 0x2453F9: bash_ast::init_parser(std::string const&, std::string const&) (bash_ast.cpp:105) | ->11.02% (319,488B) 0x244AC7: bash_ast::bash_ast(std::istream const&, std::function) (bash_ast.cpp:43) | ->11.02% (319,488B) 0x13C8F2: print_ast(std::istream&, bool, bool) (ast_printer.cpp:57) | ->11.02% (319,488B) 0x155E76: _ZNSt5_BindIFPFvRSibbESt12_PlaceholderILi1EEmmEE6__callIvIS0_EILi0ELi1ELi2EEEET_OSt5tupleIIDpT0_EESt12_Index_tupleIIXspT1_EEE (functional:1115) | ->11.02% (319,488B) 0x15395C: void std::_Bind, unsigned long, unsigned long))(std::istream&, bool, bool)>::operator()(std::istream&&&) (functional:1165) | ->11.02% (319,488B) 0x14FF6F: std::_Function_handler, unsigned long, unsigned long))(std::istream&, bool, bool)> >::_M_invoke(std::_Any_data const&, std::istream&) (functional:1713) | ->11.02% (319,488B) 0x145CA8: std::function::operator()(std::istream&) const (functional:2116) | ->11.02% (319,488B) 0x13D99C: print_files(std::vector > const&, bool, std::function) (ast_printer.cpp:157) | ->11.02% (319,488B) 0x13E3F1: main (ast_printer.cpp:226) | ->14.14% (409,829B) in 4+ places, all below ms_print's threshold (10.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 12 17,025,347 2,913,912 2,904,237 9,675 0 13 17,885,068 2,943,736 2,926,973 16,763 0 14 18,529,474 3,044,176 3,024,957 19,219 0 15 19,320,652 3,382,008 3,358,333 23,675 0 16 19,883,700 3,393,720 3,367,117 26,603 0 17 20,721,011 3,503,920 3,472,309 31,611 0 18 21,544,683 3,522,448 3,486,205 36,243 0 19 22,078,203 3,621,880 3,583,309 38,571 0 20 22,670,949 3,955,312 3,913,245 42,067 0 21 23,214,222 3,966,984 3,922,285 44,699 0 22 23,863,310 4,073,744 4,025,026 48,718 0 98.80% (4,025,026B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->53.09% (2,162,688B) 0x50A99D6: newPool (in /usr/lib64/libantlr3c.so) | ->39.82% (1,622,016B) 0x50A9DEB: newPoolToken (in /usr/lib64/libantlr3c.so) | | ->39.82% (1,622,016B) 0x50AEA2C: emit (in /usr/lib64/libantlr3c.so) | | ->39.82% (1,622,016B) 0x50AF8A3: nextToken (in /usr/lib64/libantlr3c.so) | | ->39.82% (1,622,016B) 0x50B368D: fillBuffer (in /usr/lib64/libantlr3c.so) | | ->39.82% (1,622,016B) 0x50B3B54: tokLT (in /usr/lib64/libantlr3c.so) | | ->39.82% (1,622,016B) 0x2755A6: start(libbashParser_Ctx_struct*) (libbashParser.cpp:26356) | | ->39.82% (1,622,016B) 0x24603F: bash_ast::parser_start(libbashParser_Ctx_struct*) (bash_ast.cpp:216) | | ->39.82% (1,622,016B) 0x147C3A: std::_Function_handler::_M_invoke(std::_Any_data const&, libbashParser_Ctx_struct*) (functional:1699) | | ->39.82% (1,622,016B) 0x246C8E: std::function::operator()(libbashParser_Ctx_struct*) const (functional:2116) | | ->39.82% (1,622,016B) 0x2454CB: bash_ast::init_parser(std::string const&, std::string const&) (bash_ast.cpp:109) | | ->39.82% (1,622,016B) 0x244AC7: bash_ast::bash_ast(std::istream const&, std::function) (bash_ast.cpp:43) | | ->39.82% (1,622,016B) 0x13C8F2: print_ast(std::istream&, bool, bool) (ast_printer.cpp:57) | | ->39.82% (1,622,016B) 0x155E76: _ZNSt5_BindIFPFvRSibbESt12_PlaceholderILi1EEmmEE6__callIvIS0_EILi0ELi1ELi2EEEET_OSt5tupleIIDpT0_EESt12_Index_tupleIIXspT1_EEE (functional:1115) | | ->39.82% (1,622,016B) 0x15395C: void std::_Bind, unsigned long, unsigned long))(std::istream&, bool, bool)>::operator()(std::istream&&&) (functional:1165) | | ->39.82% (1,622,016B) 0x14FF6F: std::_Function_handler, unsigned long, unsigned long))(std::istream&, bool, bool)> >::_M_invoke(std::_Any_data const&, std::istream&) (functional:1713) | | ->39.82% (1,622,016B) 0x145CA8: std::function::operator()(std::istream&) const (functional:2116) | | ->39.82% (1,622,016B) 0x13D99C: print_files(std::vector > const&, bool, std::function) (ast_printer.cpp:157) | | ->39.82% (1,622,016B) 0x13E3F1: main (ast_printer.cpp:226) | | | ->13.27% (540,672B) 0x50A9D0A: antlr3TokenFactoryNew (in /usr/lib64/libantlr3c.so) | ->13.27% (540,672B) in 2+ places, all below ms_print's threshold (10.00%) | ->23.53% (958,464B) 0x50AA5C6: newPool (in /usr/lib64/libantlr3c.so) | ->15.69% (638,976B) 0x50AA8B6: newPoolTree (in /usr/lib64/libantlr3c.so) | | ->15.69% (638,976B) 0x50A9EFF: newFromToken (in /usr/lib64/libantlr3c.so) | | ->15.69% (638,976B) in 2+ places, all below ms_print's threshold (10.00%) | | | ->07.84% (319,488B) in 1+ places, all below ms_print's threshold (10.00%) | ->13.27% (540,672B) 0x50A8376: newPool (in /usr/lib64/libantlr3c.so) | ->13.27% (540,672B) in 2+ places, all below ms_print's threshold (10.00%) | ->08.92% (363,202B) in 5+ places, all below ms_print's threshold (10.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 23 24,751,841 4,089,208 4,036,831 52,377 0 24 25,498,964 4,511,608 4,456,023 55,585 0 25 26,012,916 4,523,032 4,464,591 58,441 0 26 26,588,537 4,534,728 4,473,607 61,121 0 27 27,229,136 4,639,360 4,574,599 64,761 0 28 27,826,983 4,651,744 4,583,887 67,857 0 29 28,696,024 4,990,360 4,917,711 72,649 0 30 29,361,262 5,095,648 5,019,207 76,441 0 31 29,860,082 5,106,496 5,027,343 79,153 0 32 30,596,952 5,122,240 5,039,151 83,089 0 33 31,598,070 5,553,200 5,464,751 88,449 0 34 32,158,888 5,565,728 5,474,151 91,577 0 35 32,722,261 5,578,256 5,483,551 94,705 0 36 33,229,667 5,677,688 5,580,655 97,033 0 37 34,214,726 5,969,768 5,867,423 102,345 0 38 34,743,694 6,391,512 6,286,111 105,401 0 39 35,723,173 6,413,496 6,302,599 110,897 0 40 36,693,933 6,523,392 6,407,551 115,841 0 41 37,294,659 6,535,200 6,416,407 118,793 0 42 37,777,972 6,544,032 6,423,031 121,001 0 43 38,499,108 6,973,632 6,847,623 126,009 0 44 39,058,843 6,982,984 6,854,639 128,345 0 45 40,077,079 7,005,120 6,871,239 133,881 0 98.09% (6,871,239B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->36.49% (2,555,904B) 0x50AA5C6: newPool (in /usr/lib64/libantlr3c.so) | ->31.93% (2,236,416B) 0x50AA8B6: newPoolTree (in /usr/lib64/libantlr3c.so) | | ->31.93% (2,236,416B) 0x50A9EFF: newFromToken (in /usr/lib64/libantlr3c.so) | | ->31.93% (2,236,416B) in 5+ places, all below ms_print's threshold (10.00%) | | | ->04.56% (319,488B) in 1+ places, all below ms_print's threshold (10.00%) | ->34.73% (2,433,024B) 0x50A99D6: newPool (in /usr/lib64/libantlr3c.so) | ->27.01% (1,892,352B) 0x50A9DEB: newPoolToken (in /usr/lib64/libantlr3c.so) | | ->23.15% (1,622,016B) 0x50AEA2C: emit (in /usr/lib64/libantlr3c.so) | | | ->23.15% (1,622,016B) 0x50AF8A3: nextToken (in /usr/lib64/libantlr3c.so) | | | ->23.15% (1,622,016B) 0x50B368D: fillBuffer (in /usr/lib64/libantlr3c.so) | | | ->23.15% (1,622,016B) 0x50B3B54: tokLT (in /usr/lib64/libantlr3c.so) | | | ->23.15% (1,622,016B) 0x2755A6: start(libbashParser_Ctx_struct*) (libbashParser.cpp:26356) | | | ->23.15% (1,622,016B) 0x24603F: bash_ast::parser_start(libbashParser_Ctx_struct*) (bash_ast.cpp:216) | | | ->23.15% (1,622,016B) 0x147C3A: std::_Function_handler::_M_invoke(std::_Any_data const&, libbashParser_Ctx_struct*) (functional:1699) | | | ->23.15% (1,622,016B) 0x246C8E: std::function::operator()(libbashParser_Ctx_struct*) const (functional:2116) | | | ->23.15% (1,622,016B) 0x2454CB: bash_ast::init_parser(std::string const&, std::string const&) (bash_ast.cpp:109) | | | ->23.15% (1,622,016B) 0x244AC7: bash_ast::bash_ast(std::istream const&, std::function) (bash_ast.cpp:43) | | | ->23.15% (1,622,016B) 0x13C8F2: print_ast(std::istream&, bool, bool) (ast_printer.cpp:57) | | | ->23.15% (1,622,016B) 0x155E76: _ZNSt5_BindIFPFvRSibbESt12_PlaceholderILi1EEmmEE6__callIvIS0_EILi0ELi1ELi2EEEET_OSt5tupleIIDpT0_EESt12_Index_tupleIIXspT1_EEE (functional:1115) | | | ->23.15% (1,622,016B) 0x15395C: void std::_Bind, unsigned long, unsigned long))(std::istream&, bool, bool)>::operator()(std::istream&&&) (functional:1165) | | | ->23.15% (1,622,016B) 0x14FF6F: std::_Function_handler, unsigned long, unsigned long))(std::istream&, bool, bool)> >::_M_invoke(std::_Any_data const&, std::istream&) (functional:1713) | | | ->23.15% (1,622,016B) 0x145CA8: std::function::operator()(std::istream&) const (functional:2116) | | | ->23.15% (1,622,016B) 0x13D99C: print_files(std::vector > const&, bool, std::function) (ast_printer.cpp:157) | | | ->23.15% (1,622,016B) 0x13E3F1: main (ast_printer.cpp:226) | | | | | ->03.86% (270,336B) in 1+ places, all below ms_print's threshold (10.00%) | | | ->07.72% (540,672B) in 1+ places, all below ms_print's threshold (10.00%) | ->18.01% (1,261,568B) 0x50A8376: newPool (in /usr/lib64/libantlr3c.so) | ->15.44% (1,081,344B) 0x50A8EFE: newVector (in /usr/lib64/libantlr3c.so) | | ->14.15% (991,232B) 0x50A9F5D: createChildrenList (in /usr/lib64/libantlr3c.so) | | | ->14.15% (991,232B) 0x50A49AE: addChild (in /usr/lib64/libantlr3c.so) | | | ->14.15% (991,232B) in 8+ places, all below ms_print's threshold (10.00%) | | | | | ->01.29% (90,112B) in 1+ places, all below ms_print's threshold (10.00%) | | | ->02.57% (180,224B) in 1+ places, all below ms_print's threshold (10.00%) | ->08.86% (620,743B) in 4+ places, all below ms_print's threshold (10.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 46 40,589,438 7,106,224 6,969,719 136,505 0 47 41,332,868 7,442,360 7,301,671 140,689 0 48 42,361,692 7,553,808 7,407,775 146,033 0 49 43,326,761 7,574,064 7,422,967 151,097 0 50 43,806,601 7,591,152 7,435,783 155,369 0 51 44,286,274 7,932,824 7,771,911 160,913 0 52 44,802,589 7,955,752 7,789,231 166,521 0 53 45,411,606 8,053,552 7,887,031 166,521 0 54 46,029,161 8,061,744 7,895,223 166,521 0 55 46,520,816 8,404,440 8,236,183 168,257 0 56 47,006,417 8,412,328 8,242,087 170,241 0 97.98% (8,242,087B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->41.78% (3,514,368B) 0x50AA5C6: newPool (in /usr/lib64/libantlr3c.so) | ->37.98% (3,194,880B) 0x50AA8B6: newPoolTree (in /usr/lib64/libantlr3c.so) | | ->37.98% (3,194,880B) 0x50A9EFF: newFromToken (in /usr/lib64/libantlr3c.so) | | ->37.98% (3,194,880B) in 8+ places, all below ms_print's threshold (10.00%) | | | ->03.80% (319,488B) in 1+ places, all below ms_print's threshold (10.00%) | ->28.92% (2,433,024B) 0x50A99D6: newPool (in /usr/lib64/libantlr3c.so) | ->22.49% (1,892,352B) 0x50A9DEB: newPoolToken (in /usr/lib64/libantlr3c.so) | | ->19.28% (1,622,016B) 0x50AEA2C: emit (in /usr/lib64/libantlr3c.so) | | | ->19.28% (1,622,016B) 0x50AF8A3: nextToken (in /usr/lib64/libantlr3c.so) | | | ->19.28% (1,622,016B) 0x50B368D: fillBuffer (in /usr/lib64/libantlr3c.so) | | | ->19.28% (1,622,016B) 0x50B3B54: tokLT (in /usr/lib64/libantlr3c.so) | | | ->19.28% (1,622,016B) 0x2755A6: start(libbashParser_Ctx_struct*) (libbashParser.cpp:26356) | | | ->19.28% (1,622,016B) 0x24603F: bash_ast::parser_start(libbashParser_Ctx_struct*) (bash_ast.cpp:216) | | | ->19.28% (1,622,016B) 0x147C3A: std::_Function_handler::_M_invoke(std::_Any_data const&, libbashParser_Ctx_struct*) (functional:1699) | | | ->19.28% (1,622,016B) 0x246C8E: std::function::operator()(libbashParser_Ctx_struct*) const (functional:2116) | | | ->19.28% (1,622,016B) 0x2454CB: bash_ast::init_parser(std::string const&, std::string const&) (bash_ast.cpp:109) | | | ->19.28% (1,622,016B) 0x244AC7: bash_ast::bash_ast(std::istream const&, std::function) (bash_ast.cpp:43) | | | ->19.28% (1,622,016B) 0x13C8F2: print_ast(std::istream&, bool, bool) (ast_printer.cpp:57) | | | ->19.28% (1,622,016B) 0x155E76: _ZNSt5_BindIFPFvRSibbESt12_PlaceholderILi1EEmmEE6__callIvIS0_EILi0ELi1ELi2EEEET_OSt5tupleIIDpT0_EESt12_Index_tupleIIXspT1_EEE (functional:1115) | | | ->19.28% (1,622,016B) 0x15395C: void std::_Bind, unsigned long, unsigned long))(std::istream&, bool, bool)>::operator()(std::istream&&&) (functional:1165) | | | ->19.28% (1,622,016B) 0x14FF6F: std::_Function_handler, unsigned long, unsigned long))(std::istream&, bool, bool)> >::_M_invoke(std::_Any_data const&, std::istream&) (functional:1713) | | | ->19.28% (1,622,016B) 0x145CA8: std::function::operator()(std::istream&) const (functional:2116) | | | ->19.28% (1,622,016B) 0x13D99C: print_files(std::vector > const&, bool, std::function) (ast_printer.cpp:157) | | | ->19.28% (1,622,016B) 0x13E3F1: main (ast_printer.cpp:226) | | | | | ->03.21% (270,336B) in 1+ places, all below ms_print's threshold (10.00%) | | | ->06.43% (540,672B) in 1+ places, all below ms_print's threshold (10.00%) | ->18.21% (1,531,904B) 0x50A8376: newPool (in /usr/lib64/libantlr3c.so) | ->16.07% (1,351,680B) 0x50A8EFE: newVector (in /usr/lib64/libantlr3c.so) | | ->15.00% (1,261,568B) 0x50A9F5D: createChildrenList (in /usr/lib64/libantlr3c.so) | | | ->15.00% (1,261,568B) 0x50A49AE: addChild (in /usr/lib64/libantlr3c.so) | | | ->15.00% (1,261,568B) in 11+ places, all below ms_print's threshold (10.00%) | | | | | ->01.07% (90,112B) in 1+ places, all below ms_print's threshold (10.00%) | | | ->02.14% (180,224B) in 1+ places, all below ms_print's threshold (10.00%) | ->09.07% (762,791B) in 4+ places, all below ms_print's threshold (10.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 57 47,490,651 8,513,232 8,340,271 172,961 0 58 47,977,367 8,523,408 8,347,903 175,505 0 59 48,482,726 8,533,968 8,355,823 178,145 0 60 48,962,011 8,544,048 8,363,383 180,665 0 61 49,455,261 8,644,824 8,461,495 183,329 0 62 49,940,793 8,974,920 8,789,063 185,857 0 63 50,423,992 8,985,288 8,796,839 188,449 0 64 50,912,428 8,994,160 8,803,615 190,545 0 65 51,392,341 9,094,952 8,901,727 193,225 0 66 51,872,846 9,103,784 8,908,351 195,433 0 97.85% (8,908,351B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->42.11% (3,833,856B) 0x50AA5C6: newPool (in /usr/lib64/libantlr3c.so) | ->38.60% (3,514,368B) 0x50AA8B6: newPoolTree (in /usr/lib64/libantlr3c.so) | | ->38.60% (3,514,368B) 0x50A9EFF: newFromToken (in /usr/lib64/libantlr3c.so) | | ->38.60% (3,514,368B) in 9+ places, all below ms_print's threshold (10.00%) | | | ->03.51% (319,488B) in 1+ places, all below ms_print's threshold (10.00%) | ->26.73% (2,433,024B) 0x50A99D6: newPool (in /usr/lib64/libantlr3c.so) | ->20.79% (1,892,352B) 0x50A9DEB: newPoolToken (in /usr/lib64/libantlr3c.so) | | ->17.82% (1,622,016B) 0x50AEA2C: emit (in /usr/lib64/libantlr3c.so) | | | ->17.82% (1,622,016B) 0x50AF8A3: nextToken (in /usr/lib64/libantlr3c.so) | | | ->17.82% (1,622,016B) 0x50B368D: fillBuffer (in /usr/lib64/libantlr3c.so) | | | ->17.82% (1,622,016B) 0x50B3B54: tokLT (in /usr/lib64/libantlr3c.so) | | | ->17.82% (1,622,016B) 0x2755A6: start(libbashParser_Ctx_struct*) (libbashParser.cpp:26356) | | | ->17.82% (1,622,016B) 0x24603F: bash_ast::parser_start(libbashParser_Ctx_struct*) (bash_ast.cpp:216) | | | ->17.82% (1,622,016B) 0x147C3A: std::_Function_handler::_M_invoke(std::_Any_data const&, libbashParser_Ctx_struct*) (functional:1699) | | | ->17.82% (1,622,016B) 0x246C8E: std::function::operator()(libbashParser_Ctx_struct*) const (functional:2116) | | | ->17.82% (1,622,016B) 0x2454CB: bash_ast::init_parser(std::string const&, std::string const&) (bash_ast.cpp:109) | | | ->17.82% (1,622,016B) 0x244AC7: bash_ast::bash_ast(std::istream const&, std::function) (bash_ast.cpp:43) | | | ->17.82% (1,622,016B) 0x13C8F2: print_ast(std::istream&, bool, bool) (ast_printer.cpp:57) | | | ->17.82% (1,622,016B) 0x155E76: _ZNSt5_BindIFPFvRSibbESt12_PlaceholderILi1EEmmEE6__callIvIS0_EILi0ELi1ELi2EEEET_OSt5tupleIIDpT0_EESt12_Index_tupleIIXspT1_EEE (functional:1115) | | | ->17.82% (1,622,016B) 0x15395C: void std::_Bind, unsigned long, unsigned long))(std::istream&, bool, bool)>::operator()(std::istream&&&) (functional:1165) | | | ->17.82% (1,622,016B) 0x14FF6F: std::_Function_handler, unsigned long, unsigned long))(std::istream&, bool, bool)> >::_M_invoke(std::_Any_data const&, std::istream&) (functional:1713) | | | ->17.82% (1,622,016B) 0x145CA8: std::function::operator()(std::istream&) const (functional:2116) | | | ->17.82% (1,622,016B) 0x13D99C: print_files(std::vector > const&, bool, std::function) (ast_printer.cpp:157) | | | ->17.82% (1,622,016B) 0x13E3F1: main (ast_printer.cpp:226) | | | | | ->02.97% (270,336B) in 1+ places, all below ms_print's threshold (10.00%) | | | ->05.94% (540,672B) in 1+ places, all below ms_print's threshold (10.00%) | ->19.80% (1,802,240B) 0x50A8376: newPool (in /usr/lib64/libantlr3c.so) | ->17.82% (1,622,016B) 0x50A8EFE: newVector (in /usr/lib64/libantlr3c.so) | | ->15.84% (1,441,792B) 0x50A9F5D: createChildrenList (in /usr/lib64/libantlr3c.so) | | | ->15.84% (1,441,792B) 0x50A49AE: addChild (in /usr/lib64/libantlr3c.so) | | | ->15.84% (1,441,792B) in 4+ places, all below ms_print's threshold (10.00%) | | | | | ->01.98% (180,224B) in 1+ places, all below ms_print's threshold (10.00%) | | | ->01.98% (180,224B) in 1+ places, all below ms_print's threshold (10.00%) | ->09.22% (839,231B) in 4+ places, all below ms_print's threshold (10.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 67 52,376,807 9,114,344 8,916,271 198,073 0 68 52,856,114 9,124,560 8,923,935 200,625 0 69 53,338,965 9,543,888 9,340,943 202,945 0 70 53,821,628 9,553,584 9,348,215 205,369 0 71 54,313,121 9,834,216 9,626,263 207,953 0 72 54,794,862 9,933,952 9,723,583 210,369 0 73 55,274,766 9,944,064 9,731,295 212,769 0 74 55,770,032 9,954,336 9,738,999 215,337 0 75 56,249,336 10,283,664 10,065,871 217,793 0 76 56,728,720 10,383,152 10,163,015 220,137 0 97.88% (10,163,015B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->43.08% (4,472,832B) 0x50AA5C6: newPool (in /usr/lib64/libantlr3c.so) | ->40.00% (4,153,344B) 0x50AA8B6: newPoolTree (in /usr/lib64/libantlr3c.so) | | ->40.00% (4,153,344B) 0x50A9EFF: newFromToken (in /usr/lib64/libantlr3c.so) | | ->40.00% (4,153,344B) in 10+ places, all below ms_print's threshold (10.00%) | | | ->03.08% (319,488B) in 1+ places, all below ms_print's threshold (10.00%) | ->26.04% (2,703,360B) 0x50A99D6: newPool (in /usr/lib64/libantlr3c.so) | ->20.83% (2,162,688B) 0x50A9DEB: newPoolToken (in /usr/lib64/libantlr3c.so) | | ->15.62% (1,622,016B) 0x50AEA2C: emit (in /usr/lib64/libantlr3c.so) | | | ->15.62% (1,622,016B) 0x50AF8A3: nextToken (in /usr/lib64/libantlr3c.so) | | | ->15.62% (1,622,016B) 0x50B368D: fillBuffer (in /usr/lib64/libantlr3c.so) | | | ->15.62% (1,622,016B) 0x50B3B54: tokLT (in /usr/lib64/libantlr3c.so) | | | ->15.62% (1,622,016B) 0x2755A6: start(libbashParser_Ctx_struct*) (libbashParser.cpp:26356) | | | ->15.62% (1,622,016B) 0x24603F: bash_ast::parser_start(libbashParser_Ctx_struct*) (bash_ast.cpp:216) | | | ->15.62% (1,622,016B) 0x147C3A: std::_Function_handler::_M_invoke(std::_Any_data const&, libbashParser_Ctx_struct*) (functional:1699) | | | ->15.62% (1,622,016B) 0x246C8E: std::function::operator()(libbashParser_Ctx_struct*) const (functional:2116) | | | ->15.62% (1,622,016B) 0x2454CB: bash_ast::init_parser(std::string const&, std::string const&) (bash_ast.cpp:109) | | | ->15.62% (1,622,016B) 0x244AC7: bash_ast::bash_ast(std::istream const&, std::function) (bash_ast.cpp:43) | | | ->15.62% (1,622,016B) 0x13C8F2: print_ast(std::istream&, bool, bool) (ast_printer.cpp:57) | | | ->15.62% (1,622,016B) 0x155E76: _ZNSt5_BindIFPFvRSibbESt12_PlaceholderILi1EEmmEE6__callIvIS0_EILi0ELi1ELi2EEEET_OSt5tupleIIDpT0_EESt12_Index_tupleIIXspT1_EEE (functional:1115) | | | ->15.62% (1,622,016B) 0x15395C: void std::_Bind, unsigned long, unsigned long))(std::istream&, bool, bool)>::operator()(std::istream&&&) (functional:1165) | | | ->15.62% (1,622,016B) 0x14FF6F: std::_Function_handler, unsigned long, unsigned long))(std::istream&, bool, bool)> >::_M_invoke(std::_Any_data const&, std::istream&) (functional:1713) | | | ->15.62% (1,622,016B) 0x145CA8: std::function::operator()(std::istream&) const (functional:2116) | | | ->15.62% (1,622,016B) 0x13D99C: print_files(std::vector > const&, bool, std::function) (ast_printer.cpp:157) | | | ->15.62% (1,622,016B) 0x13E3F1: main (ast_printer.cpp:226) | | | | | ->05.21% (540,672B) in 1+ places, all below ms_print's threshold (10.00%) | | | ->05.21% (540,672B) in 1+ places, all below ms_print's threshold (10.00%) | ->19.96% (2,072,576B) 0x50A8376: newPool (in /usr/lib64/libantlr3c.so) | ->18.23% (1,892,352B) 0x50A8EFE: newVector (in /usr/lib64/libantlr3c.so) | | ->14.75% (1,531,904B) 0x50A9F5D: createChildrenList (in /usr/lib64/libantlr3c.so) | | | ->14.75% (1,531,904B) 0x50A49AE: addChild (in /usr/lib64/libantlr3c.so) | | | ->14.75% (1,531,904B) in 4+ places, all below ms_print's threshold (10.00%) | | | | | ->03.47% (360,448B) in 1+ places, all below ms_print's threshold (10.00%) | | | ->01.74% (180,224B) in 1+ places, all below ms_print's threshold (10.00%) | ->08.81% (914,247B) in 4+ places, all below ms_print's threshold (10.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 77 57,224,404 10,393,328 10,170,647 222,681 0 78 57,704,801 10,402,928 10,177,847 225,081 0 79 58,202,885 10,503,048 10,275,455 227,593 0 80 58,693,517 10,512,840 10,282,799 230,041 0 81 59,176,588 10,522,728 10,290,215 232,513 0 82 59,682,767 10,854,784 10,620,166 234,618 0 97.84% (10,620,166B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->44.15% (4,792,320B) 0x50AA5C6: newPool (in /usr/lib64/libantlr3c.so) | ->41.21% (4,472,832B) 0x50AA8B6: newPoolTree (in /usr/lib64/libantlr3c.so) | | ->41.21% (4,472,832B) 0x50A9EFF: newFromToken (in /usr/lib64/libantlr3c.so) | | ->41.21% (4,472,832B) in 10+ places, all below ms_print's threshold (10.00%) | | | ->02.94% (319,488B) in 1+ places, all below ms_print's threshold (10.00%) | ->24.90% (2,703,360B) 0x50A99D6: newPool (in /usr/lib64/libantlr3c.so) | ->19.92% (2,162,688B) 0x50A9DEB: newPoolToken (in /usr/lib64/libantlr3c.so) | | ->14.94% (1,622,016B) 0x50AEA2C: emit (in /usr/lib64/libantlr3c.so) | | | ->14.94% (1,622,016B) 0x50AF8A3: nextToken (in /usr/lib64/libantlr3c.so) | | | ->14.94% (1,622,016B) 0x50B368D: fillBuffer (in /usr/lib64/libantlr3c.so) | | | ->14.94% (1,622,016B) 0x50B3B54: tokLT (in /usr/lib64/libantlr3c.so) | | | ->14.94% (1,622,016B) 0x2755A6: start(libbashParser_Ctx_struct*) (libbashParser.cpp:26356) | | | ->14.94% (1,622,016B) 0x24603F: bash_ast::parser_start(libbashParser_Ctx_struct*) (bash_ast.cpp:216) | | | ->14.94% (1,622,016B) 0x147C3A: std::_Function_handler::_M_invoke(std::_Any_data const&, libbashParser_Ctx_struct*) (functional:1699) | | | ->14.94% (1,622,016B) 0x246C8E: std::function::operator()(libbashParser_Ctx_struct*) const (functional:2116) | | | ->14.94% (1,622,016B) 0x2454CB: bash_ast::init_parser(std::string const&, std::string const&) (bash_ast.cpp:109) | | | ->14.94% (1,622,016B) 0x244AC7: bash_ast::bash_ast(std::istream const&, std::function) (bash_ast.cpp:43) | | | ->14.94% (1,622,016B) 0x13C8F2: print_ast(std::istream&, bool, bool) (ast_printer.cpp:57) | | | ->14.94% (1,622,016B) 0x155E76: _ZNSt5_BindIFPFvRSibbESt12_PlaceholderILi1EEmmEE6__callIvIS0_EILi0ELi1ELi2EEEET_OSt5tupleIIDpT0_EESt12_Index_tupleIIXspT1_EEE (functional:1115) | | | ->14.94% (1,622,016B) 0x15395C: void std::_Bind, unsigned long, unsigned long))(std::istream&, bool, bool)>::operator()(std::istream&&&) (functional:1165) | | | ->14.94% (1,622,016B) 0x14FF6F: std::_Function_handler, unsigned long, unsigned long))(std::istream&, bool, bool)> >::_M_invoke(std::_Any_data const&, std::istream&) (functional:1713) | | | ->14.94% (1,622,016B) 0x145CA8: std::function::operator()(std::istream&) const (functional:2116) | | | ->14.94% (1,622,016B) 0x13D99C: print_files(std::vector > const&, bool, std::function) (ast_printer.cpp:157) | | | ->14.94% (1,622,016B) 0x13E3F1: main (ast_printer.cpp:226) | | | | | ->04.98% (540,672B) in 1+ places, all below ms_print's threshold (10.00%) | | | ->04.98% (540,672B) in 1+ places, all below ms_print's threshold (10.00%) | ->19.92% (2,162,688B) 0x50A8376: newPool (in /usr/lib64/libantlr3c.so) | ->18.26% (1,982,464B) 0x50A8EFE: newVector (in /usr/lib64/libantlr3c.so) | | ->14.11% (1,531,904B) 0x50A9F5D: createChildrenList (in /usr/lib64/libantlr3c.so) | | | ->14.11% (1,531,904B) 0x50A49AE: addChild (in /usr/lib64/libantlr3c.so) | | | ->14.11% (1,531,904B) in 4+ places, all below ms_print's threshold (10.00%) | | | | | ->04.15% (450,560B) in 1+ places, all below ms_print's threshold (10.00%) | | | ->01.66% (180,224B) in 1+ places, all below ms_print's threshold (10.00%) | ->08.86% (961,798B) in 4+ places, all below ms_print's threshold (10.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 83 60,162,075 2,828,456 2,639,879 188,577 0 84 60,641,376 2,338,056 2,271,943 66,113 0