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.
|
clock that increments monotonically, tracking the time since an arbitrary point, and will continue to increment while the system is asleep. More...
#include "timemory/components/timing/components.hpp"
Public Types | |
using | ratio_t = std::nano |
using | value_type = int64_t |
using | base_type = base< monotonic_clock, value_type > |
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 () |
clock that increments monotonically, tracking the time since an arbitrary point, and will continue to increment while the system is asleep.
Definition at line 144 of file components.hpp.
Definition at line 148 of file components.hpp.
using tim::component::monotonic_clock::ratio_t = std::nano |
Definition at line 146 of file components.hpp.
using tim::component::monotonic_clock::value_type = int64_t |
Definition at line 147 of file components.hpp.
|
inlinestatic |
Definition at line 151 of file components.hpp.
|
inlinenoexcept |
Definition at line 160 of file components.hpp.
References tim::component::base< Tp, Value >::get_unit(), and tim::component::base< monotonic_clock >::load().
Referenced by get_display().
|
inlinenoexcept |
|
inlinestatic |
Definition at line 150 of file components.hpp.
|
inlinestatic |
Definition at line 156 of file components.hpp.
|
inlinenoexcept |
|
inlinenoexcept |
Definition at line 168 of file components.hpp.
References record().