XGC1
|
#include "checkpoint.hpp"
Go to the source code of this file.
Macros | |
#define | TIMER_CHKPT_START(N) if(global_debug_flag) checkpoint(std::string("Starting '") + N + std::string("'...\n")); |
#define | TIMER_CHKPT_END(N) if(global_debug_flag) checkpoint(std::string("Finished '") + N + std::string("'!\n")); |
#define | TIMER(N, F) {TIMER_CHKPT_START(N); GPTLstart(N); F; GPTLstop(N); TIMER_CHKPT_END(N);} |
#define | FENCED_TIMER(N, F) {TIMER_CHKPT_START(N); GPTLstart(N); F; Kokkos::fence(); GPTLstop(N); TIMER_CHKPT_END(N);} |
#define | TIMER_NS(N, F) TIMER_CHKPT_START(N); GPTLstart(N); F; GPTLstop(N); TIMER_CHKPT_END(N); |
#define | PERF_BARRIER_TIMER(N) |
Functions | |
static int | GPTLinitialize () |
static int | GPTLstart (const char *name) |
static int | GPTLstop (const char *name) |
static int | GPTLpr_file (const char *name) |
#define FENCED_TIMER | ( | N, | |
F | |||
) | {TIMER_CHKPT_START(N); GPTLstart(N); F; Kokkos::fence(); GPTLstop(N); TIMER_CHKPT_END(N);} |
#define PERF_BARRIER_TIMER | ( | N | ) |
#define TIMER | ( | N, | |
F | |||
) | {TIMER_CHKPT_START(N); GPTLstart(N); F; GPTLstop(N); TIMER_CHKPT_END(N);} |
#define TIMER_CHKPT_END | ( | N | ) | if(global_debug_flag) checkpoint(std::string("Finished '") + N + std::string("'!\n")); |
#define TIMER_CHKPT_START | ( | N | ) | if(global_debug_flag) checkpoint(std::string("Starting '") + N + std::string("'...\n")); |
#define TIMER_NS | ( | N, | |
F | |||
) | TIMER_CHKPT_START(N); GPTLstart(N); F; GPTLstop(N); TIMER_CHKPT_END(N); |
|
static |
|
static |
|
static |
|
static |