|
TECA
|
#include <teca_memory_profiler.h>
Classes | |
| struct | internals_type |
Public Member Functions | |
| teca_memory_profiler (const teca_memory_profiler &)=delete | |
| void | operator= (const teca_memory_profiler &)=delete |
| int | initialize () |
| int | finalize () |
| void | set_interval (double interval) |
| double | get_interval () const |
| void | set_communicator (MPI_Comm comm) |
| void | set_filename (const std::string &filename) |
| const char * | get_filename () const |
Friends | |
| void * | profile (void *argp) |
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