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.
|
this clock measures the CPU time within the current thread (excludes sibling/child threads). Only relevant as a time when a different is computed Do not use a single CPU time as an amount of time; it doesn't work that way. More...
#include "timemory/components/timing/components.hpp"
Public Types | |
using | ratio_t = std::nano |
using | value_type = int64_t |
using | base_type = base< thread_cpu_clock, value_type > |
using | storage_type = empty_storage |
Public Member Functions | |
double | get () const noexcept |
double | get_display () const noexcept |
void | start () noexcept |
void | stop () noexcept |
Static Public Member Functions | |
static std::string | label () |
static std::string | description () |
static value_type | record () noexcept |
template<typename... Args> | |
static opaque | get_opaque (Args &&...) |
this clock measures the CPU time within the current thread (excludes sibling/child threads). Only relevant as a time when a different is computed Do not use a single CPU time as an amount of time; it doesn't work that way.
Definition at line 206 of file components.hpp.
Definition at line 210 of file components.hpp.
using tim::component::thread_cpu_clock::ratio_t = std::nano |
Definition at line 208 of file components.hpp.
|
inherited |
Definition at line 66 of file declaration.hpp.
using tim::component::thread_cpu_clock::value_type = int64_t |
Definition at line 209 of file components.hpp.
|
inlinestatic |
Definition at line 213 of file components.hpp.
|
inlinenoexcept |
Definition at line 218 of file components.hpp.
References tim::component::base< Tp, Value >::get_unit(), and tim::component::base< thread_cpu_clock >::load().
Referenced by get_display().
|
inlinenoexcept |
|
inlinestaticinherited |
Definition at line 72 of file declaration.hpp.
|
inlinestatic |
Definition at line 212 of file components.hpp.
|
inlinestaticnoexcept |
Definition at line 214 of file components.hpp.
Referenced by tim::component::thread_cpu_util::record(), start(), and stop().
|
inlinenoexcept |
Definition at line 223 of file components.hpp.
References record().
|
inlinenoexcept |
Definition at line 224 of file components.hpp.
References record().