print correct pahes in alloc instrumentation

This commit is contained in:
mpilman 2019-03-08 12:37:04 -08:00 committed by Alex Miller
parent f593562743
commit ebffe8c633
2 changed files with 4 additions and 2 deletions

View File

@ -3318,7 +3318,8 @@ int main(int argc, char* argv[]) {
<< FastAllocator<512>::pageCount << " " << FastAllocator<512>::pageCount << " "
<< FastAllocator<1024>::pageCount << " " << FastAllocator<1024>::pageCount << " "
<< FastAllocator<2048>::pageCount << " " << FastAllocator<2048>::pageCount << " "
<< FastAllocator<4096>::pageCount << endl; << FastAllocator<4096>::pageCount << " "
<< FastAllocator<8192>::pageCount << endl;
vector< std::pair<std::string, const char*> > typeNames; vector< std::pair<std::string, const char*> > typeNames;
for( auto i = allocInstr.begin(); i != allocInstr.end(); ++i ) { for( auto i = allocInstr.begin(); i != allocInstr.end(); ++i ) {

View File

@ -1749,7 +1749,8 @@ int main(int argc, char* argv[]) {
<< FastAllocator<512>::pageCount << " " << FastAllocator<512>::pageCount << " "
<< FastAllocator<1024>::pageCount << " " << FastAllocator<1024>::pageCount << " "
<< FastAllocator<2048>::pageCount << " " << FastAllocator<2048>::pageCount << " "
<< FastAllocator<4096>::pageCount << std::endl; << FastAllocator<4096>::pageCount << " "
<< FastAllocator<8192>::pageCount << std::endl;
vector< std::pair<std::string, const char*> > typeNames; vector< std::pair<std::string, const char*> > typeNames;
for( auto i = allocInstr.begin(); i != allocInstr.end(); ++i ) { for( auto i = allocInstr.begin(); i != allocInstr.end(); ++i ) {