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.
|
Provides scoping the CrayPAT profiler. Global initialization stops the profiler, the first call to start()
starts the profiler again on the calling thread. Instance counting is enabled per-thread and each call to start increments the counter. All calls to stop()
have no effect until the counter reaches zero, at which point the compiler is turned off again.
More...
#include "timemory/components/craypat/components.hpp"
Public Types | |
using | this_type = craypat_record |
using | value_type = void |
using | base_type = base< this_type, void > |
using | tracker_type = policy::instance_tracker< this_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 | global_init () |
static void | global_finalize () |
template<typename... Args> | |
static opaque | get_opaque (Args &&...) |
Provides scoping the CrayPAT profiler. Global initialization stops the profiler, the first call to start()
starts the profiler again on the calling thread. Instance counting is enabled per-thread and each call to start increments the counter. All calls to stop()
have no effect until the counter reaches zero, at which point the compiler is turned off again.
Definition at line 53 of file components.hpp.
using tim::component::craypat_record::base_type = base<this_type, void> |
Definition at line 59 of file components.hpp.
|
inherited |
Definition at line 66 of file declaration.hpp.
Definition at line 57 of file components.hpp.
Definition at line 60 of file components.hpp.
using tim::component::craypat_record::value_type = void |
Definition at line 58 of file components.hpp.
|
inlinestatic |
Definition at line 63 of file components.hpp.
|
inlineinherited |
Definition at line 69 of file declaration.hpp.
|
inlinestaticinherited |
Definition at line 72 of file declaration.hpp.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Definition at line 62 of file components.hpp.
|
inline |
Definition at line 72 of file components.hpp.
References tim::invoke::record(), and tim::invoke::start().
|
inline |
Definition at line 79 of file components.hpp.
References tim::invoke::record(), and tim::invoke::stop().