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.
|
Records the number of invocations. This is the most lightweight metric available since it only increments an integer and never records any statistics. If dynamic instrumentation is used and the overhead is significant, it is recommended to set this as the only component (-d trip_count) and then use the regex exclude option (-E) to remove any non-critical function calls which have very high trip-counts. More...
#include "timemory/components/trip_count/components.hpp"
Public Types | |
using | value_type = int64_t |
using | this_type = trip_count |
using | base_type = base< this_type, value_type > |
using | storage_type = empty_storage |
Public Member Functions | |
value_type | get () const |
value_type | get_display () const |
void | start () |
void | stop () |
Static Public Member Functions | |
static std::string | label () |
static std::string | description () |
static value_type | record () |
template<typename... Args> | |
static opaque | get_opaque (Args &&...) |
Records the number of invocations. This is the most lightweight metric available since it only increments an integer and never records any statistics. If dynamic instrumentation is used and the overhead is significant, it is recommended to set this as the only component (-d trip_count) and then use the regex exclude option (-E) to remove any non-critical function calls which have very high trip-counts.
Definition at line 53 of file components.hpp.
Definition at line 57 of file components.hpp.
|
inherited |
Definition at line 66 of file declaration.hpp.
Definition at line 56 of file components.hpp.
using tim::component::trip_count::value_type = int64_t |
Definition at line 55 of file components.hpp.
|
inlinestatic |
Definition at line 60 of file components.hpp.
|
inline |
|
inline |
|
inlinestaticinherited |
Definition at line 72 of file declaration.hpp.
|
inlinestatic |
Definition at line 59 of file components.hpp.
|
inlinestatic |
Definition at line 61 of file components.hpp.
|
inline |
Definition at line 66 of file components.hpp.
|
inline |
Definition at line 67 of file components.hpp.