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