ObjectStats Class Reference

#include <MemoryStats.hpp>

Public Member Functions

 ObjectStats ()
 
void clear ()
 
void logObject (RexxObject *obj)
 
void printStats (int type)
 

Protected Attributes

size_t count
 
size_t size
 

Detailed Description

Definition at line 52 of file MemoryStats.hpp.

Constructor & Destructor Documentation

◆ ObjectStats()

ObjectStats::ObjectStats ( )
inline

Definition at line 55 of file MemoryStats.hpp.

Member Function Documentation

◆ clear()

void ObjectStats::clear ( )
inline

Definition at line 57 of file MemoryStats.hpp.

References count, and size.

Referenced by MemoryStats::clear().

◆ logObject()

void ObjectStats::logObject ( RexxObject obj)
inline

Definition at line 58 of file MemoryStats.hpp.

References count, RexxInternalObject::getObjectSize(), and size.

Referenced by MemoryStats::logObject().

◆ printStats()

void ObjectStats::printStats ( int  type)

Definition at line 140 of file MemoryStats.cpp.

References count, size, and type.

Referenced by MemoryStats::printMemoryStats(), and MemoryStats::printSavedImageStats().

Member Data Documentation

◆ count

size_t ObjectStats::count
protected

Definition at line 63 of file MemoryStats.hpp.

Referenced by clear(), logObject(), and printStats().

◆ size

size_t ObjectStats::size
protected

Definition at line 64 of file MemoryStats.hpp.

Referenced by clear(), logObject(), and printStats().


The documentation for this class was generated from the following files: