timemory 3.3.0
Modular C++ Toolkit for Performance Analysis and Logging. Profiling API and Tools for C, C++, CUDA, Fortran, and Python. The C++ template API is essentially a framework to creating tools: it is designed to provide a unifying interface for recording various performance measurements alongside data logging and interfaces to other tools.
singleton.hpp File Reference
#include "timemory/api.hpp"
#include "timemory/macros/attributes.hpp"
#include <cstddef>
#include <functional>
#include <list>
#include <map>
#include <memory>
#include <mutex>
#include <set>
#include <thread>
+ Include dependency graph for singleton.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  tim::singleton< void, void, void >
 
class  tim::singleton< Type, PointerT, TagT >
 Thread-safe singleton management. More...
 

Namespaces

namespace  tim
 

Typedefs

using tim::common_singleton = singleton< void, void, void >
 

Detailed Description

This is the C++ class provides thread-local singleton functionality with the ability to overload the destruction of the singleton (critical to automatic output at the end of the application)

Definition in file singleton.hpp.