19#include "libmesh/threads.h"
22#include "libmesh/libmesh_logging.h"
38#ifdef LIBMESH_ENABLE_PERFORMANCE_LOGGING
void disable_logging()
Disables performance logging for an active object.
void enable_logging()
Enables performance logging for an active object.
~DisablePerfLogInScope()=default
const bool _logging_was_enabled
DisablePerfLogInScope()=default
bool in_threads
A boolean which is true iff we are in a Threads:: function It may be useful to assert(!...
recursive_mutex recursive_mtx
A convenient recursive mutex object which can be used for obtaining locks.
spin_mutex spin_mtx
A convenient spin mutex object which can be used for obtaining locks.
int active_threads
An integer which is set to the number of active threads when we are in a Threads:: parallel operation...
void lock_singleton_spin_mutex()
void unlock_singleton_spin_mutex()
The libMesh namespace provides an interface to certain functionality in the library.
PerfLog perflog
A PerfLog object to log performance.