ATLAS Offline Software
|
Statistics for an allocator. More...
#include <ArenaAllocatorBase.h>
Classes | |
struct | Stat |
A single statistic. More... | |
Public Member Functions | |
Stats ()=default | |
void | clear () |
Reset to zero. More... | |
Stats & | operator+= (const Stats &other) |
Accumulate. More... | |
Static Public Member Functions | |
static void | header (std::ostream &os) |
Print report header. More... | |
Public Attributes | |
Stat | blocks |
Counts of blocks. More... | |
Stat | elts |
Counts of elements. More... | |
Stat | bytes |
Counts of bytes. More... | |
Statistics for an allocator.
See above for more details.
Definition at line 188 of file ArenaAllocatorBase.h.
|
default |
void SG::ArenaAllocatorBase::Stats::clear | ( | ) |
|
static |
Print report header.
Write a header for the statistics report.
os | The stream to which to write. |
Definition at line 116 of file ArenaAllocatorBase.cxx.
ArenaAllocatorBase::Stats & SG::ArenaAllocatorBase::Stats::operator+= | ( | const Stats & | other | ) |
Stat SG::ArenaAllocatorBase::Stats::blocks |
Counts of blocks.
Definition at line 217 of file ArenaAllocatorBase.h.
Stat SG::ArenaAllocatorBase::Stats::bytes |
Counts of bytes.
Definition at line 221 of file ArenaAllocatorBase.h.
Stat SG::ArenaAllocatorBase::Stats::elts |
Counts of elements.
Definition at line 219 of file ArenaAllocatorBase.h.