11 #include <initializer_list> 12 #include <type_traits> 14 #if defined(NRN_CALIPER) 15 #include <caliper/cali.h> 26 #if defined(LIKWID_PERFMON) 41 template <
class... TProfilerImpl>
43 #pragma clang diagnostic push 44 #pragma clang diagnostic ignored "-Wunused-value" 137 #pragma clang diagnostic pop 140 #if defined(NRN_CALIPER) 144 CALI_MARK_BEGIN(name);
147 inline static void phase_end(
const char* name) {
167 inline static void phase_end(
const char* name){};
170 PAT_record(PAT_STATE_ON);
174 PAT_record(PAT_STATE_OFF);
188 inline static void phase_end(
const char* name){};
191 TAU_ENABLE_INSTRUMENTATION();
195 TAU_DISABLE_INSTRUMENTATION();
205 #if defined(LIKWID_PERFMON) 209 LIKWID_MARKER_START(name);
212 inline static void phase_end(
const char* name) {
213 LIKWID_MARKER_STOP(name);
224 { LIKWID_MARKER_THREADINIT; }
244 #if defined NRN_CALIPER 253 #if defined(LIKWID_PERFMON) 259 namespace Instrumentor {
static void init_profile()
Initialize the profiler.
static void phase_end(const char *name)
static void init_profile()
static void start_profile()
Globally activate the collection of profiling data.
static void stop_profile()
Globally deactivate the collection of profiling data.
static void phase_begin(const char *name)
Activate the collection of profiling data within a code region.
static void stop_profile()
static void finalize_profile()
Instrumentation infrastructure for benchmarking and profiling.
static void start_profile()
static void finalize_profile()
static void finalize_profile()
Finalize the profiler.
static void phase_end(const char *name)
static void phase_begin(const char *name)
static void phase_end(const char *name)
Deactivate the collection of profiling data within a code region.
static void phase_begin(const char *name)
static void start_profile()
static void stop_profile()
static void init_profile()