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::component::placeholder< Types > Struct Template Reference

provides nothing, used for dummy types in enum More...

#include "timemory/components/placeholder.hpp"

+ Collaboration diagram for tim::component::placeholder< Types >:

Public Types

using value_type = void
 
using this_type = placeholder< Types... >
 
using base_type = base< this_type, value_type >
 
using storage_type = empty_storage
 

Public Member Functions

void start ()
 
void stop ()
 
void get () const
 

Static Public Member Functions

static std::string label ()
 
static std::string description ()
 
static void record ()
 
template<typename... Args>
static void configure (Args &&...)
 generic configuration More...
 
template<size_t N, typename... Ret, typename... Args>
static void configure (Args &&...)
 specific to gotcha More...
 
template<typename... Args>
static opaque get_opaque (Args &&...)
 

Detailed Description

template<typename... Types>
struct tim::component::placeholder< Types >

provides nothing, used for dummy types in enum

Definition at line 41 of file placeholder.hpp.

Member Typedef Documentation

◆ base_type

template<typename... Types>
using tim::component::placeholder< Types >::base_type = base<this_type, value_type>

Definition at line 47 of file placeholder.hpp.

◆ storage_type

Definition at line 66 of file declaration.hpp.

◆ this_type

template<typename... Types>
using tim::component::placeholder< Types >::this_type = placeholder<Types...>

Definition at line 46 of file placeholder.hpp.

◆ value_type

template<typename... Types>
using tim::component::placeholder< Types >::value_type = void

Definition at line 45 of file placeholder.hpp.

Member Function Documentation

◆ configure() [1/2]

template<typename... Types>
template<typename... Args>
static void tim::component::placeholder< Types >::configure ( Args &&  ...)
inlinestatic

generic configuration

Definition at line 57 of file placeholder.hpp.

58 {}

◆ configure() [2/2]

template<typename... Types>
template<size_t N, typename... Ret, typename... Args>
static void tim::component::placeholder< Types >::configure ( Args &&  ...)
inlinestatic

specific to gotcha

Definition at line 62 of file placeholder.hpp.

63 {}

◆ description()

template<typename... Types>
static std::string tim::component::placeholder< Types >::description ( )
inlinestatic

Definition at line 50 of file placeholder.hpp.

50{ return "placeholder"; }

◆ get()

void tim::component::empty_base::get ( ) const
inlineinherited

Definition at line 69 of file declaration.hpp.

69{}

◆ get_opaque()

template<typename... Args>
static opaque tim::component::empty_base::get_opaque ( Args &&  ...)
inlinestaticinherited

Definition at line 72 of file declaration.hpp.

73 {
74 return opaque{};
75 }

◆ label()

template<typename... Types>
static std::string tim::component::placeholder< Types >::label ( )
inlinestatic

Definition at line 49 of file placeholder.hpp.

49{ return "placeholder"; }

◆ record()

template<typename... Types>
static void tim::component::placeholder< Types >::record ( )
inlinestatic

Definition at line 51 of file placeholder.hpp.

51{}

◆ start()

template<typename... Types>
void tim::component::placeholder< Types >::start ( )
inline

Definition at line 52 of file placeholder.hpp.

52{}

◆ stop()

template<typename... Types>
void tim::component::placeholder< Types >::stop ( )
inline

Definition at line 53 of file placeholder.hpp.

53{}

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