timemory  3.2.1
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 >
 

Public Member Functions

void start ()
 
void stop ()
 

Static Public Member Functions

static std::string label ()
 
static std::string description ()
 
static void global_init ()
 
static void global_finalize ()
 

Detailed Description

Controls the AllineaMap sampling profiler.

Definition at line 54 of file components.hpp.

Member Typedef Documentation

◆ base_type

◆ this_type

◆ tracker_type

◆ value_type

Definition at line 58 of file components.hpp.

Member Function Documentation

◆ description()

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

Definition at line 64 of file components.hpp.

64 { return "Controls the AllineaMAP sampler"; }

◆ global_finalize()

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

Definition at line 67 of file components.hpp.

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

◆ global_init()

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

Definition at line 66 of file components.hpp.

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

◆ label()

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

Definition at line 63 of file components.hpp.

63 { return "allinea_map"; }

◆ start()

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

Definition at line 69 of file components.hpp.

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

References tim::invoke::start().

◆ stop()

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

Definition at line 76 of file components.hpp.

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

References tim::invoke::stop().


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