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.
|
Control switch for a CUDA profiler running on the application. Only the first call to start()
and the last call to stop()
actually toggle the state of the external CUDA profiler when component instances are nested.
More...
#include "timemory/components/cuda/components.hpp"
Public Types | |
enum class | mode : short { nvp , csv } |
using | value_type = void |
using | this_type = cuda_profiler |
using | base_type = base< this_type, value_type > |
using | tracker_type = policy::instance_tracker< cuda_profiler > |
using | config_type = std::tuple< std::string, std::string, mode > |
using | initializer_type = std::function< config_type()> |
using | storage_type = empty_storage |
Public Member Functions | |
cuda_profiler () | |
void | start () |
void | stop () |
void | get () const |
Static Public Member Functions | |
static std::string | label () |
static std::string | description () |
static initializer_type & | get_initializer () |
static void | global_init () |
static void | global_finalize () |
static void | configure () |
static void | configure (const std::string &_infile, const std::string &_outfile, mode _mode) |
template<typename... Args> | |
static opaque | get_opaque (Args &&...) |
Control switch for a CUDA profiler running on the application. Only the first call to start()
and the last call to stop()
actually toggle the state of the external CUDA profiler when component instances are nested.
Definition at line 259 of file components.hpp.
Definition at line 265 of file components.hpp.
using tim::component::cuda_profiler::config_type = std::tuple<std::string, std::string, mode> |
Definition at line 280 of file components.hpp.
using tim::component::cuda_profiler::initializer_type = std::function<config_type()> |
Definition at line 281 of file components.hpp.
|
inherited |
Definition at line 66 of file declaration.hpp.
Definition at line 264 of file components.hpp.
Definition at line 266 of file components.hpp.
using tim::component::cuda_profiler::value_type = void |
Definition at line 263 of file components.hpp.
|
strong |
|
inline |
|
inlinestatic |
Definition at line 305 of file components.hpp.
References configure(), and get_initializer().
Referenced by cuda_profiler(), and configure().
|
inlinestatic |
|
inlinestatic |
Definition at line 269 of file components.hpp.
|
inlineinherited |
Definition at line 69 of file declaration.hpp.
|
inlinestatic |
Definition at line 283 of file components.hpp.
References nvp.
Referenced by configure().
|
inlinestaticinherited |
Definition at line 72 of file declaration.hpp.
|
inlinestatic |
Definition at line 298 of file components.hpp.
|
inlinestatic |
Definition at line 291 of file components.hpp.
|
inlinestatic |
Definition at line 268 of file components.hpp.
|
inline |
|
inline |