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::trait::runtime_enabled< void > Struct Reference

#include "timemory/mpl/type_traits.hpp"

+ Collaboration diagram for tim::trait::runtime_enabled< void >:

Static Public Member Functions

static bool get ()
 
static void set (bool val)
 

Static Public Attributes

static constexpr bool value = supports_runtime_enabled<void>::value
 

Detailed Description

Definition at line 138 of file type_traits.hpp.

Member Function Documentation

◆ get()

static bool tim::trait::runtime_enabled< void >::get ( )
inlinestatic

Definition at line 143 of file type_traits.hpp.

143{ return get_runtime_value(); }

◆ set()

static void tim::trait::runtime_enabled< void >::set ( bool  val)
inlinestatic

Definition at line 146 of file type_traits.hpp.

146{ get_runtime_value() = val; }

Member Data Documentation

◆ value

constexpr bool tim::trait::runtime_enabled< void >::value = supports_runtime_enabled<void>::value
staticconstexpr

Definition at line 140 of file type_traits.hpp.


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