|
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 is the compact representation of a measurement in the call-graph. More...
#include "timemory/storage/node.hpp"
Collaboration diagram for tim::node::graph< Tp >:Public Types | |
| using | this_type = graph |
| using | base_type = typename data< Tp >::node_type |
| using | data_value_type = typename Tp::value_type |
| using | data_base_type = typename Tp::base_type |
| using | stats_type = typename data< Tp >::stats_type |
| using | string_t = std::string |
Public Member Functions | |
| graph () | |
| graph (uint64_t _id, const Tp &_obj, int64_t _depth, uint32_t _tid, uint32_t _pid=process::get_id(), bool _is_dummy=false) | |
| ~graph ()=default | |
| graph (const graph &)=default | |
| graph (graph &&) noexcept=default | |
| graph & | operator= (const graph &)=default |
| graph & | operator= (graph &&) noexcept=default |
| bool | operator== (const graph &rhs) const |
| bool | operator!= (const graph &rhs) const |
| this_type & | operator+= (const this_type &rhs) |
| this_type & | operator-= (const this_type &rhs) |
| bool & | is_dummy () |
| denotes this is a placeholder for synchronization More... | |
| uint32_t & | tid () |
| thread identifier More... | |
| uint32_t & | pid () |
| process identifier More... | |
| uint64_t & | id () |
| hash identifer More... | |
| int64_t & | depth () |
| depth in call-graph More... | |
| Tp & | obj () |
| this is the instance that gets updated in call-graph More... | |
| stats_type & | stats () |
| statistics data for entry in call-graph More... | |
| const bool & | is_dummy () const |
| const uint32_t & | tid () const |
| const uint32_t & | pid () const |
| const uint64_t & | id () const |
| const int64_t & | depth () const |
| const Tp & | obj () const |
| const stats_type & | stats () const |
| auto & | data () |
| auto & | hash () |
| const auto & | data () const |
| const auto & | hash () const |
Static Public Member Functions | |
| static Tp | get_dummy () |
This is the compact representation of a measurement in the call-graph.
| Tp | Component type |
| using tim::node::graph< Tp >::base_type = typename data<Tp>::node_type |
| using tim::node::graph< Tp >::data_base_type = typename Tp::base_type |
| using tim::node::graph< Tp >::data_value_type = typename Tp::value_type |
| using tim::node::graph< Tp >::stats_type = typename data<Tp>::stats_type |
| using tim::node::graph< Tp >::string_t = std::string |
| using tim::node::graph< Tp >::this_type = graph |
| tim::node::graph< Tp >::graph |
| tim::node::graph< Tp >::graph | ( | uint64_t | _id, |
| const Tp & | _obj, | ||
| int64_t | _depth, | ||
| uint32_t | _tid, | ||
| uint32_t | _pid = process::get_id(), |
||
| bool | _is_dummy = false |
||
| ) |
|
default |
|
default |
|
defaultnoexcept |
|
inline |
Definition at line 208 of file node.hpp.
References tim::node::graph< Tp >::obj().
Referenced by tim::node::tree< Tp >::operator=().
|
inline |
|
inline |
depth in call-graph
Definition at line 192 of file node.hpp.
Referenced by tim::cereal::load(), tim::node::tree< Tp >::operator=(), tim::node::graph< Tp >::operator==(), and tim::cereal::save().
|
inline |
|
static |
|
inline |
Definition at line 209 of file node.hpp.
References tim::node::graph< Tp >::id().
Referenced by tim::node::tree< Tp >::operator=().
|
inline |
|
inline |
hash identifer
Definition at line 189 of file node.hpp.
Referenced by tim::node::graph< Tp >::hash(), tim::cereal::load(), tim::node::graph< Tp >::operator==(), and tim::cereal::save().
|
inline |
|
inline |
denotes this is a placeholder for synchronization
Definition at line 180 of file node.hpp.
Referenced by tim::cereal::load(), tim::node::tree< Tp >::operator=(), and tim::cereal::save().
|
inline |
|
inline |
this is the instance that gets updated in call-graph
Definition at line 195 of file node.hpp.
Referenced by tim::node::graph< Tp >::data(), tim::cereal::load(), tim::node::graph< Tp >::operator+=(), tim::node::graph< Tp >::operator-=(), and tim::cereal::save().
|
inline |
| bool tim::node::graph< Tp >::operator!= | ( | const graph< Tp > & | rhs | ) | const |
|
inline |
Definition at line 164 of file node.hpp.
References tim::node::graph< Tp >::obj(), and tim::node::graph< Tp >::stats().
|
inline |
Definition at line 171 of file node.hpp.
References tim::node::graph< Tp >::obj(), and tim::node::graph< Tp >::stats().
|
default |
|
defaultnoexcept |
| bool tim::node::graph< Tp >::operator== | ( | const graph< Tp > & | rhs | ) | const |
Definition at line 427 of file node.hpp.
References tim::node::graph< Tp >::depth(), and tim::node::graph< Tp >::id().
|
inline |
process identifier
Definition at line 186 of file node.hpp.
Referenced by tim::cereal::load(), tim::node::tree< Tp >::operator=(), and tim::cereal::save().
|
inline |
|
inline |
statistics data for entry in call-graph
Definition at line 198 of file node.hpp.
Referenced by tim::cereal::load(), tim::node::graph< Tp >::operator+=(), tim::node::graph< Tp >::operator-=(), tim::node::tree< Tp >::operator=(), and tim::cereal::save().
|
inline |
|
inline |
thread identifier
Definition at line 183 of file node.hpp.
Referenced by tim::cereal::load(), tim::node::tree< Tp >::operator=(), and tim::cereal::save().
|
inline |