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::component::state< Tp > Struct Template Reference

#include "timemory/components/properties.hpp"

+ Collaboration diagram for tim::component::state< Tp >:

Static Public Member Functions

static bool & has_storage ()
 

Detailed Description

template<typename Tp>
struct tim::component::state< Tp >

Definition at line 96 of file properties.hpp.

Member Function Documentation

◆ has_storage()

template<typename Tp >
static bool & tim::component::state< Tp >::has_storage ( )
inlinestatic

Definition at line 98 of file properties.hpp.

99 {
100 static thread_local bool _instance = false;
101 return _instance;
102 }

The documentation for this struct was generated from the following file: