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::allinea_map Struct Reference

Controls the AllineaMap sampling profiler. More...

#include "timemory/components/allinea/components.hpp"

+ Collaboration diagram for tim::component::allinea_map:

Public Types

using value_type = void
 
using this_type = allinea_map
 
using base_type = base< this_type, value_type >
 
using tracker_type = policy::instance_tracker< allinea_map, false >
 
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 global_init ()
 
static void global_finalize ()
 
template<typename... Args>
static opaque get_opaque (Args &&...)
 

Detailed Description

Controls the AllineaMap sampling profiler.

Definition at line 53 of file components.hpp.

Member Typedef Documentation

◆ base_type

◆ storage_type

Definition at line 66 of file declaration.hpp.

◆ this_type

◆ tracker_type

◆ value_type

Definition at line 57 of file components.hpp.

Member Function Documentation

◆ description()

static std::string tim::component::allinea_map::description ( )
inlinestatic

Definition at line 63 of file components.hpp.

63{ return "Controls the AllineaMAP sampler"; }

◆ 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 }

◆ global_finalize()

static void tim::component::allinea_map::global_finalize ( )
inlinestatic

Definition at line 66 of file components.hpp.

66{ backend::allinea::stop_sampling(); }

◆ global_init()

static void tim::component::allinea_map::global_init ( )
inlinestatic

Definition at line 65 of file components.hpp.

65{ backend::allinea::stop_sampling(); }

◆ label()

static std::string tim::component::allinea_map::label ( )
inlinestatic

Definition at line 62 of file components.hpp.

62{ return "allinea_map"; }

◆ start()

void tim::component::allinea_map::start ( )
inline

Definition at line 68 of file components.hpp.

69 {
71 if(tracker_type::m_tot == 0)
72 backend::allinea::start_sampling();
73 }
void start(TupleT< Tp... > &obj, Args &&... args)
Definition: functional.cpp:316

References tim::invoke::start().

◆ stop()

void tim::component::allinea_map::stop ( )
inline

Definition at line 75 of file components.hpp.

76 {
78 if(tracker_type::m_tot == 0)
79 backend::allinea::stop_sampling();
80 }
void stop(TupleT< Tp... > &obj, Args &&... args)
Definition: functional.cpp:386

References tim::invoke::stop().


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