Requests that memory stats be shown now. More...
#include <Simulation/SimEvents.H>
Public Member Functions | |
SimEventShowMemStats (SimModule *src, const int fram=-1, const size_t uni=0) | |
Constuctor. | |
virtual | ~SimEventShowMemStats () |
Destructor. | |
int | frame () const |
Get frame. | |
size_t | unit () const |
Get allocation unit. |
Requests that memory stats be shown now.
A SimModule may post this to request that statistics about memory usage be displayed now. This requires that the user specified --mem-stats on the command-line, otherwise this event will be ignored. A frame number is optional, as well as an allocation unit to show the stats in.
Definition at line 101 of file SimEvents.H.
SimEventShowMemStats::SimEventShowMemStats | ( | SimModule * | src, | |
const int | fram = -1 , |
|||
const size_t | uni = 0 | |||
) |
Constuctor.
Definition at line 75 of file SimEvents.C.
SimEventShowMemStats::~SimEventShowMemStats | ( | ) | [virtual] |
Destructor.
Definition at line 81 of file SimEvents.C.
int SimEventShowMemStats::frame | ( | ) | const |
Get frame.
Definition at line 84 of file SimEvents.C.
size_t SimEventShowMemStats::unit | ( | ) | const |
Get allocation unit.
Definition at line 87 of file SimEvents.C.