33TaskAllocatorList::fAllocatorList()
48 return fAllocatorList();
56 return fAllocatorList();
61TaskAllocatorList::TaskAllocatorList() {}
72 fList.push_back(alloc);
84 std::cout <<
"================== Deleting memory pools ==================="
87 for(
auto& itr : fList)
89 double mem = itr->GetAllocatedSize();
101 std::cout <<
"Pool ID '" << itr->GetPoolType()
102 <<
"', size : " << std::setprecision(3) << mem / 1048576
103 << std::setprecision(6) <<
" MB" << std::endl;
110 std::cout <<
"Number of memory pools allocated: " <<
Size()
111 <<
"; of which, static: " << i << std::endl;
112 std::cout <<
"Dynamic pools deleted: " << j
113 <<
" / Total memory freed: " << std::setprecision(2) << tmem / 1048576
114 << std::setprecision(6) <<
" MB" << std::endl;
115 std::cout <<
"============================================================"
static TaskAllocatorList * GetAllocatorListIfExist()
void Destroy(int nStat=0, int verboseLevel=0)
void Register(TaskAllocatorBase *)
static TaskAllocatorList * GetAllocatorList()