mirror of
https://github.com/apple/foundationdb.git
synced 2025-05-14 09:58:50 +08:00
print correct pahes in alloc instrumentation
This commit is contained in:
parent
f593562743
commit
ebffe8c633
@ -3318,7 +3318,8 @@ int main(int argc, char* argv[]) {
|
||||
<< FastAllocator<512>::pageCount << " "
|
||||
<< FastAllocator<1024>::pageCount << " "
|
||||
<< FastAllocator<2048>::pageCount << " "
|
||||
<< FastAllocator<4096>::pageCount << endl;
|
||||
<< FastAllocator<4096>::pageCount << " "
|
||||
<< FastAllocator<8192>::pageCount << endl;
|
||||
|
||||
vector< std::pair<std::string, const char*> > typeNames;
|
||||
for( auto i = allocInstr.begin(); i != allocInstr.end(); ++i ) {
|
||||
|
@ -1749,7 +1749,8 @@ int main(int argc, char* argv[]) {
|
||||
<< FastAllocator<512>::pageCount << " "
|
||||
<< FastAllocator<1024>::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;
|
||||
for( auto i = allocInstr.begin(); i != allocInstr.end(); ++i ) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user