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.
|
#include "timemory/components/base/data.hpp"
Public Types | |
using | value_type = null_type |
Public Member Functions | |
value_type | get_value () const |
value_type | get_accum () const |
value_type | get_last () const |
void | set_value (value_type) |
void | set_accum (value_type) |
void | set_last (value_type) |
base_data ()=default | |
~base_data ()=default | |
base_data & | operator= (base_data &&)=default |
base_data (base_data &&)=default | |
base_data (const base_data &)=default | |
base_data & | operator= (const base_data &)=default |
value_type | load (bool) |
value_type | load (bool) const |
void | plus (const value_type &) |
void | minus (const value_type &) |
void | multiply (const value_type &) |
void | divide (const value_type &) |
template<typename Up > | |
void | plus (Up &&) |
template<typename Up > | |
void | minus (Up &&) |
template<typename Up > | |
void | multiply (Up &&) |
template<typename Up > | |
void | divide (Up &&) |
Protected Attributes | |
value_type | value = {} |
value_type | accum = {} |
value_type | last = {} |
using tim::component::base_data< Tp, 0 >::value_type = null_type |
|
default |
|
default |
|
default |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
default |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |