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 | empty_type = std::tuple<> |
using | value_type = Tp |
using | accum_type = empty_type |
using | last_type = empty_type |
Public Member Functions | |
const value_type & | get_value () const |
const value_type & | get_accum () const |
const value_type & | get_last () const |
void | set_value (value_type v) |
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 |
template<typename ArchiveT > | |
void | serialize (ArchiveT &ar, const unsigned int=0) |
value_type & | load (bool) |
const value_type & | load (bool) const |
void | plus (const value_type &lhs) |
void | minus (const value_type &lhs) |
void | multiply (const value_type &lhs) |
void | divide (const value_type &lhs) |
template<typename Up > | |
auto | plus (Up &&rhs) -> decltype((void) std::forward< Up >(rhs).get_value(), void()) |
template<typename Up > | |
auto | minus (Up &&rhs) -> decltype((void) std::forward< Up >(rhs).get_value(), void()) |
template<typename Up > | |
auto | multiply (Up &&rhs) -> decltype((void) std::forward< Up >(rhs).get_value(), void()) |
template<typename Up > | |
auto | divide (Up &&rhs) -> decltype((void) std::forward< Up >(rhs).get_value(), void()) |
value_type & | accum () |
value_type & | last () |
Protected Member Functions | |
void | reset () |
Protected Attributes | |
value_type | value = Tp{} |
using tim::component::base_data< Tp, 1 >::accum_type = empty_type |
using tim::component::base_data< Tp, 1 >::empty_type = std::tuple<> |
using tim::component::base_data< Tp, 1 >::last_type = empty_type |
using tim::component::base_data< Tp, 1 >::value_type = Tp |
|
default |
|
default |
|
default |
|
default |
|
inline |
|
inline |
Definition at line 142 of file data.hpp.
References tim::math::compute< Tp, Up >::divide().
|
inline |
Definition at line 168 of file data.hpp.
References tim::math::compute< Tp, Up >::divide().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 132 of file data.hpp.
References tim::math::compute< Tp, Up >::minus().
|
inline |
|
inline |
Definition at line 137 of file data.hpp.
References tim::math::compute< Tp, Up >::multiply().
|
inline |
|
default |
|
default |
|
inline |
|
inline |
Definition at line 148 of file data.hpp.
References tim::math::compute< Tp, Up >::plus().
|
inlineprotected |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |