1 #ifndef teca_memory_profiler_h
2 #define teca_memory_profiler_h
4 #include "teca_config.h"
8 extern "C" void *profile(
void *argp);
33 void set_interval(
double interval);
34 double get_interval()
const;
37 void set_communicator(MPI_Comm comm);
40 void set_filename(
const std::string &
filename);
41 const char *get_filename()
const;
43 friend void *profile(
void *argp);
46 struct internals_type;
47 internals_type *internals;
MemoryProfiler - A sampling memory use profiler.
Definition: teca_memory_profiler.h:19
p_teca_error_handler error_handler TECA_EXPORT
The global error handler instance.
TECA_EXPORT std::string filename(const std::string &filename)