Macaulay2 Engine
Loading...
Searching...
No Matches

◆ operator<<()

std::ostream & operator<< ( std::ostream & o,
AllocLogger a )

Definition at line 9 of file myalloc.cpp.

10{
11 o << "allocs/deallocs, total/high/current size allocated: "
12 << a.mNumAllocs << "/" << a.mNumDeallocs << " "
13 << a.mAllocSize << "/" << a.mHighWater << "/" << a.mCurrentAllocSize;
14 return o;
15}
static size_t mNumDeallocs
Definition myalloc.hpp:67
static long mCurrentAllocSize
Definition myalloc.hpp:68
static size_t mAllocSize
Definition myalloc.hpp:66
static size_t mHighWater
Definition myalloc.hpp:69
static size_t mNumAllocs
Definition myalloc.hpp:65

References AllocLogger::mAllocSize, AllocLogger::mCurrentAllocSize, AllocLogger::mHighWater, AllocLogger::mNumAllocs, and AllocLogger::mNumDeallocs.