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.
|
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()> |
Public Member Functions | |
cuda_profiler () | |
void | start () |
void | stop () |
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) |
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 267 of file components.hpp.
Definition at line 273 of file components.hpp.
using tim::component::cuda_profiler::config_type = std::tuple<std::string, std::string, mode> |
Definition at line 288 of file components.hpp.
using tim::component::cuda_profiler::initializer_type = std::function<config_type()> |
Definition at line 289 of file components.hpp.
Definition at line 272 of file components.hpp.
Definition at line 274 of file components.hpp.
using tim::component::cuda_profiler::value_type = void |
Definition at line 271 of file components.hpp.
|
strong |
|
inline |
|
inlinestatic |
Definition at line 313 of file components.hpp.
References get_initializer().
Referenced by cuda_profiler().
|
inlinestatic |
Definition at line 319 of file components.hpp.
References tim::consume_parameters(), and nvp.
|
inlinestatic |
Definition at line 277 of file components.hpp.
|
inlinestatic |
Definition at line 291 of file components.hpp.
References nvp.
Referenced by configure().
|
inlinestatic |
Definition at line 306 of file components.hpp.
|
inlinestatic |
Definition at line 299 of file components.hpp.
|
inlinestatic |
Definition at line 276 of file components.hpp.
|
inline |
|
inline |