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::api_bundle< ApiT, Types > Struct Template Reference

#include "timemory/variadic/base_bundle.hpp"

+ Collaboration diagram for tim::api_bundle< ApiT, Types >:

Public Types

using base_bundle_type = conditional_t< trait::is_available< ApiT >::value, impl::base_bundle< ApiT, remove_pointer_t< Types >... >, impl::base_bundle< ApiT, std::tuple<> > >
 
using data_type = conditional_t< trait::is_available< ApiT >::value, mpl::non_placeholder_t< mpl::non_quirk_t< std::tuple< Types... > > >, std::tuple<> >
 
using tuple_type = data_type
 
using impl_type = data_type
 

Public Member Functions

template<typename... Args>
 api_bundle (Args &&... args)
 

Detailed Description

template<typename ApiT, typename... Types>
struct tim::api_bundle< ApiT, Types >

Definition at line 632 of file base_bundle.hpp.

Member Typedef Documentation

◆ base_bundle_type

template<typename ApiT , typename... Types>
using tim::api_bundle< ApiT, Types >::base_bundle_type = conditional_t<trait::is_available<ApiT>::value, impl::base_bundle<ApiT, remove_pointer_t<Types>...>, impl::base_bundle<ApiT, std::tuple<> >>

Definition at line 643 of file base_bundle.hpp.

◆ data_type

template<typename ApiT , typename... Types>
using tim::api_bundle< ApiT, Types >::data_type = conditional_t<trait::is_available<ApiT>::value, mpl::non_placeholder_t<mpl::non_quirk_t<std::tuple<Types...> >>, std::tuple<> >

Definition at line 647 of file base_bundle.hpp.

◆ impl_type

template<typename ApiT , typename... Types>
using tim::api_bundle< ApiT, Types >::impl_type = data_type

Definition at line 652 of file base_bundle.hpp.

◆ tuple_type

template<typename ApiT , typename... Types>
using tim::api_bundle< ApiT, Types >::tuple_type = data_type

Definition at line 651 of file base_bundle.hpp.

Constructor & Destructor Documentation

◆ api_bundle()

template<typename ApiT , typename... Types>
template<typename... Args>
tim::api_bundle< ApiT, Types >::api_bundle ( Args &&...  args)
inline

Definition at line 655 of file base_bundle.hpp.

656 : base_bundle_type(std::forward<Args>(args)...)
657 {}
conditional_t< trait::is_available< ApiT >::value, impl::base_bundle< ApiT, remove_pointer_t< Types >... >, impl::base_bundle< ApiT, std::tuple<> > > base_bundle_type

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