9 #ifdef SERAC_USE_CALIPER
18 #ifdef SERAC_USE_CALIPER
20 std::optional<cali::ConfigManager> mgr;
24 void initialize([[maybe_unused]] MPI_Comm comm, [[maybe_unused]] std::string options)
26 #ifdef SERAC_USE_ADIAK
42 #ifdef SERAC_USE_CALIPER
44 mgr = cali::ConfigManager();
45 auto check_result = mgr->check(options.c_str());
47 if (check_result.empty()) {
48 mgr->add(options.c_str());
50 SLIC_WARNING_ROOT(
"Caliper options invalid, ignoring: " << check_result);
54 mgr->add(
"runtime-report,spot");
61 #ifdef SERAC_USE_ADIAK
66 #ifdef SERAC_USE_CALIPER
This file contains the interface used for retrieving information about how the driver is configured.
This file contains the all the necessary functions and macros required for logging as well as a helpe...
void finalize()
Concludes performance monitoring and writes collected data to a file.
void initialize([[maybe_unused]] MPI_Comm comm, [[maybe_unused]] std::string options)
Initializes performance monitoring using the Caliper and Adiak libraries.
std::string version(bool add_SHA)
Returns a string for the version of Serac.
std::string compiler()
Returns a string for the current compiler name and version.
Various helper functions and macros for profiling using Caliper.
#define SERAC_SET_METADATA(name, data)