SENSEI
A frame work for generic in situ analytics
sensei::MemoryProfiler Class Reference

The class samples process memory usage at the specified interval given in seconds. More...

#include <MemoryProfiler.h>

Public Member Functions

 MemoryProfiler (const MemoryProfiler &)=delete
 
void operator= (const MemoryProfiler &)=delete
 
int Initialize ()
 
int Finalize ()
 
void SetInterval (double interval)
 
double GetInterval () const
 
void SetCommunicator (MPI_Comm comm)
 
void SetFilename (const std::string &filename)
 
const char * GetFilename () const
 

Friends

void * profile (void *argp)
 

Detailed Description

The class samples process memory usage at the specified interval given in seconds.

For each sample the time is aquired. Calling Initialize starts profiling, and Finalize ends it. During Finaliziation the buffers are written using MPI-I/O to the file name provided


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