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.
|
trait that specifies or determines if a component collects any data. Default behavior is to check if the component is available and extract the type and value fields from tim::trait::component_value_type. When a component is available, the 'type' of this trait will return the 'value type' for a component regardless of whether it was specified within the component definition or if it was declared via a type-trait. The constexpr 'value' boolean indicates whether the 'type' is not a null type. More...
#include "timemory/mpl/type_traits.hpp"
Public Types | |
using | type = component_value_type_t< T > |
Static Public Attributes | |
static constexpr bool | value = (!concepts::is_null_type<type>::value) |
trait that specifies or determines if a component collects any data. Default behavior is to check if the component is available and extract the type and value fields from tim::trait::component_value_type. When a component is available, the 'type' of this trait will return the 'value type' for a component regardless of whether it was specified within the component definition or if it was declared via a type-trait. The constexpr 'value' boolean indicates whether the 'type' is not a null type.
Definition at line 380 of file type_traits.hpp.
using tim::trait::collects_data< T >::type = component_value_type_t<T> |
Definition at line 382 of file type_traits.hpp.
|
staticconstexpr |
Definition at line 383 of file type_traits.hpp.