#include <MemoryStats.hpp>
Public Member Functions | |
| SegmentStats (const char *id) | |
| void | clear () |
| void | recordObject (MemoryStats *memStats, char *obj) |
| void | printStats () |
Protected Attributes | |
| size_t | count |
| size_t | largestSegment |
| size_t | smallestSegment |
| size_t | totalBytes |
| size_t | liveBytes |
| size_t | deadBytes |
| size_t | liveObjects |
| size_t | deadObjects |
| const char * | name |
Friends | |
| class | MemoryStats |
| class | MemorySegmentSet |
Definition at line 68 of file MemoryStats.hpp.
|
inline |
Definition at line 73 of file MemoryStats.hpp.
| void SegmentStats::clear | ( | ) |
Definition at line 47 of file MemoryStats.cpp.
References count, deadBytes, deadObjects, largestSegment, liveBytes, liveObjects, MaximumObjectSize, smallestSegment, and totalBytes.
Referenced by MemoryStats::clear().
| void SegmentStats::printStats | ( | ) |
Definition at line 128 of file MemoryStats.cpp.
References count, deadBytes, deadObjects, largestSegment, liveBytes, liveObjects, name, smallestSegment, and totalBytes.
Referenced by MemoryStats::printMemoryStats().
| void SegmentStats::recordObject | ( | MemoryStats * | memStats, |
| char * | obj | ||
| ) |
Definition at line 63 of file MemoryStats.cpp.
References deadBytes, deadObjects, liveBytes, liveObjects, MemoryStats::logObject(), RexxMemory::markWord, memoryObject, and totalBytes.
Referenced by MemorySegment::gatherObjectStats().
|
friend |
Definition at line 70 of file MemoryStats.hpp.
|
friend |
Definition at line 69 of file MemoryStats.hpp.
|
protected |
Definition at line 85 of file MemoryStats.hpp.
Referenced by clear(), MemorySegmentSet::gatherStats(), and printStats().
|
protected |
Definition at line 91 of file MemoryStats.hpp.
Referenced by clear(), printStats(), and recordObject().
|
protected |
Definition at line 93 of file MemoryStats.hpp.
Referenced by clear(), printStats(), and recordObject().
|
protected |
Definition at line 86 of file MemoryStats.hpp.
Referenced by clear(), MemorySegmentSet::gatherStats(), and printStats().
|
protected |
Definition at line 90 of file MemoryStats.hpp.
Referenced by clear(), printStats(), and recordObject().
|
protected |
Definition at line 92 of file MemoryStats.hpp.
Referenced by clear(), printStats(), and recordObject().
|
protected |
Definition at line 94 of file MemoryStats.hpp.
Referenced by printStats().
|
protected |
Definition at line 87 of file MemoryStats.hpp.
Referenced by clear(), MemorySegmentSet::gatherStats(), and printStats().
|
protected |
Definition at line 89 of file MemoryStats.hpp.
Referenced by clear(), printStats(), and recordObject().