A class containing methods managing memory and time profiling.
More...
#include <teca_profiler.h>
|
|
static int | initialize () |
| |
|
static int | finalize () |
| |
|
static int | flush () |
| |
|
static void | set_communicator (MPI_Comm comm) |
| |
|
static void | set_timer_log_file (const std::string &file_name) |
| |
|
static void | set_mem_prof_log_file (const std::string &file_name) |
| |
|
static void | set_mem_prof_interval (int interval) |
| |
|
static void | enable (int arg=0x03) |
| |
|
static void | disable () |
| |
|
static bool | enabled () |
| |
|
static int | start_event (const char *eventname) |
| |
|
static int | end_event (const char *eventname) |
| |
|
static int | write_c_stdio (const char *file_name, const char *mode, const std::string &str) |
| |
|
static int | write_mpi_io (MPI_Comm comm, const char *file_name, const std::string &str) |
| |
|
static int | validate () |
| |
|
static int | to_stream (std::ostream &os) |
| |
A class containing methods managing memory and time profiling.
Each timed event logs rank, event name, start and end time, and duration.
The documentation for this class was generated from the following file: