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.
|
#include "timemory/runtime/types.hpp"
#include <initializer_list>
#include <string>
#include <type_traits>
Go to the source code of this file.
Namespaces | |
namespace | tim |
Functions | |
template<size_t Idx, typename Type , template< size_t, typename > class Bundle, typename EnumT = int> | |
void | tim::insert (Bundle< Idx, Type > &obj, std::initializer_list< EnumT > components) |
template<size_t Idx, typename Type , template< size_t, typename > class Bundle> | |
void | tim::insert (Bundle< Idx, Type > &obj, const std::initializer_list< std::string > &components) |
template<size_t Idx, typename Type , template< size_t, typename > class Bundle, typename... ExtraArgs, template< typename, typename... > class Container> | |
void | tim::insert (Bundle< Idx, Type > &obj, const Container< std::string, ExtraArgs... > &components) |
this is for initializing with a container of string More... | |
template<size_t Idx, typename Type , template< size_t, typename > class Bundle> | |
void | tim::insert (Bundle< Idx, Type > &obj, const std::string &components) |
this is for initializing with a string More... | |
template<size_t Idx, typename Type , template< size_t, typename > class Bundle, template< typename, typename... > class Container, typename Intp , typename... ExtraArgs, typename std::enable_if< std::is_integral< Intp >::value||std::is_same< Intp, TIMEMORY_NATIVE_COMPONENT >::value, int >::type > | |
void | tim::insert (Bundle< Idx, Type > &obj, const Container< Intp, ExtraArgs... > &components) |
description: use this function to insert tools into a bundle More... | |
template<size_t Idx, typename Type , template< size_t, typename > class Bundle, template< typename, typename... > class Container, typename... ExtraArgs> | |
void | tim::insert (Bundle< Idx, Type > &obj, const Container< const char *, ExtraArgs... > &components) |
template<size_t Idx, typename Type , template< size_t, typename > class Bundle> | |
void | tim::insert (Bundle< Idx, Type > &obj, const int ncomponents, const int *components) |
Provides implementation for initialize, enumerate_components which regularly change as more features are added
Definition in file insert.hpp.