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::operation::construct_cache< Tp > Struct Template Reference

#include "timemory/operations/types/cache.hpp"

+ Collaboration diagram for tim::operation::construct_cache< Tp >:

Public Types

using data_type = std::tuple< std::remove_pointer_t< Tp >... >
 
using type = mpl::unique_t< mpl::get_trait_type_t< trait::cache, data_type >, std::tuple<> >
 

Public Member Functions

auto operator() () const
 

Detailed Description

template<typename... Tp>
struct tim::operation::construct_cache< Tp >

Definition at line 93 of file cache.hpp.

Member Typedef Documentation

◆ data_type

template<typename... Tp>
using tim::operation::construct_cache< Tp >::data_type = std::tuple<std::remove_pointer_t<Tp>...>

Definition at line 95 of file cache.hpp.

◆ type

template<typename... Tp>
using tim::operation::construct_cache< Tp >::type = mpl::unique_t<mpl::get_trait_type_t<trait::cache, data_type>, std::tuple<> >

Definition at line 96 of file cache.hpp.

Member Function Documentation

◆ operator()()

template<typename... Tp>
auto tim::operation::construct_cache< Tp >::operator() ( ) const
inline

Definition at line 99 of file cache.hpp.

99{ return type{}; }
mpl::unique_t< mpl::get_trait_type_t< trait::cache, data_type >, std::tuple<> > type
Definition: cache.hpp:97

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