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::derivation_types< T > Struct Template Reference

trait that designates the type supports calling assemble and derive member functions with these types. Specializations MUST be structured as a tim::type_list<...> of tim::type_list<...> where each inner type_list entry is the list of component types required to perform a derivation. More...

#include "timemory/mpl/type_traits.hpp"

+ Collaboration diagram for tim::trait::derivation_types< T >:

Public Types

using type = std::tuple< type_list<> >
 

Static Public Attributes

static constexpr size_t size = 0
 

Detailed Description

template<typename T>
struct tim::trait::derivation_types< T >

trait that designates the type supports calling assemble and derive member functions with these types. Specializations MUST be structured as a tim::type_list<...> of tim::type_list<...> where each inner type_list entry is the list of component types required to perform a derivation.

template <>
struct derivation_types<cpu_util>
{
// can derive its data when present alongside wall_clock + cpu_clock and/or
// wall_clock + user_clock + system_clock
using type = type_list<
type_list<wall_clock, cpu_clock>,
type_list<wall_clock, user_clock, system_clock>
>;
};
std::tuple< type_list<> > type
type_list
Definition: types.hpp:211

Definition at line 814 of file type_traits.hpp.

Member Typedef Documentation

◆ type

template<typename T >
using tim::trait::derivation_types< T >::type = std::tuple<type_list<> >

Definition at line 817 of file type_traits.hpp.

Member Data Documentation

◆ size

template<typename T >
constexpr size_t tim::trait::derivation_types< T >::size = 0
staticconstexpr

Definition at line 816 of file type_traits.hpp.


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