69 auto did = er.nameToID(key);
#define PRECICE_ASSERT(...)
static EventRegistry & instance()
Returns the only instance (singleton) of the EventRegistry class.
void put(PendingEntry pe)
Records an event.
void start()
Starts or restarts a stopped event.
void stop()
Stops a running event.
std::string name
Name used to identify the timer. Events of the same name are accumulated to.
Event(std::string_view eventName, Args... args)
~Event()
Stops the event if it's running and report its times to the EventRegistry.
void addData(std::string_view key, int value)
Adds named integer data, associated to an event.
static bool willSynchronize()
static void synchronize()
contains profiling utilities.
EventClass toEventClass(bool isFundamental)