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.
tim::lifetime Namespace Reference

Classes

struct  persistent
 Dummy struct for meta-programming to designate that a component activates its features in {global,thread}_init and deactivates it's features in {global,thead}_finalize. More...
 
struct  scoped
 Dummy struct for meta-programming to designate that a component activates it's features at the first start() invocation and deactivates it's features when all instances that called start() have called stop(). Thus, the component's features are dependent on at least one component instance existing in memory (excluding the instances in the call-graph, which never call start/stop) More...
 

Class Documentation

◆ tim::lifetime::persistent

struct tim::lifetime::persistent

Dummy struct for meta-programming to designate that a component activates its features in {global,thread}_init and deactivates it's features in {global,thead}_finalize.

Definition at line 761 of file types.hpp.

+ Collaboration diagram for tim::lifetime::persistent:

◆ tim::lifetime::scoped

struct tim::lifetime::scoped

Dummy struct for meta-programming to designate that a component activates it's features at the first start() invocation and deactivates it's features when all instances that called start() have called stop(). Thus, the component's features are dependent on at least one component instance existing in memory (excluding the instances in the call-graph, which never call start/stop)

Definition at line 751 of file types.hpp.

+ Collaboration diagram for tim::lifetime::scoped: