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 data type is used when rendering the hierarchical representation (i.e. requires recursion) representation of the calling-context. The prefix here has no decoration. More...
#include "timemory/storage/node.hpp"
Public Types | |
using | this_type = tree |
using | base_type = typename data< Tp >::tree_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 | entry_type = typename data< Tp >::entry_type |
using | idset_type = typename data< Tp >::idset_type |
using | string_t = std::string |
Public Member Functions | |
tree () | |
tree (base_type &&_base) noexcept | |
tree (const graph< Tp > &) | |
tree & | operator= (const graph< Tp > &) |
~tree ()=default | |
tree (const tree &)=default | |
tree (tree &&) noexcept=default | |
tree (bool _is_dummy, uint32_t _tid, uint32_t _pid, uint64_t _hash, int64_t _depth, const Tp &_obj) | |
bool | operator== (const tree &rhs) const |
bool | operator!= (const tree &rhs) const |
tree & | operator= (const tree &)=default |
tree & | operator= (tree &&) noexcept=default |
this_type & | operator+= (const this_type &rhs) |
this_type & | operator-= (const this_type &rhs) |
bool & | is_dummy () |
returns whether or not this node is a synchronization point and, if so, should be ignored More... | |
uint64_t & | hash () |
returns the hash identifier for the associated string identifier More... | |
int64_t & | depth () |
returns the depth of the node in the tree. NOTE: this value may be relative to dummy nodes More... | |
idset_type & | tid () |
the set of thread ids this data was collected from More... | |
idset_type & | pid () |
the set of process ids this data was collected from More... | |
entry_type & | inclusive () |
the inclusive data + statistics More... | |
entry_type & | exclusive () |
the exclusive data + statistics More... | |
const bool & | is_dummy () const |
const uint64_t & | hash () const |
const int64_t & | depth () const |
const idset_type & | tid () const |
const idset_type & | pid () const |
const entry_type & | inclusive () const |
const entry_type & | exclusive () const |
Static Public Member Functions | |
static Tp | get_dummy () |
This data type is used when rendering the hierarchical representation (i.e. requires recursion) representation of the calling-context. The prefix here has no decoration.
Tp | Generally tim::basic_tree<ComponentT> |
using tim::node::tree< Tp >::base_type = typename data<Tp>::tree_type |
using tim::node::tree< Tp >::data_base_type = typename Tp::base_type |
using tim::node::tree< Tp >::data_value_type = typename Tp::value_type |
using tim::node::tree< Tp >::entry_type = typename data<Tp>::entry_type |
using tim::node::tree< Tp >::idset_type = typename data<Tp>::idset_type |
using tim::node::tree< Tp >::stats_type = typename data<Tp>::stats_type |
using tim::node::tree< Tp >::string_t = std::string |
using tim::node::tree< Tp >::this_type = tree |
tim::node::tree< Tp >::tree |
|
explicitnoexcept |
tim::node::tree< Tp >::tree | ( | const graph< Tp > & | rhs | ) |
|
default |
|
default |
|
defaultnoexcept |
tim::node::tree< Tp >::tree | ( | bool | _is_dummy, |
uint32_t | _tid, | ||
uint32_t | _pid, | ||
uint64_t | _hash, | ||
int64_t | _depth, | ||
const Tp & | _obj | ||
) |
|
inline |
returns the depth of the node in the tree. NOTE: this value may be relative to dummy nodes
Definition at line 381 of file node.hpp.
Referenced by tim::cereal::load(), and tim::cereal::save().
|
inline |
|
inline |
the exclusive data + statistics
Definition at line 393 of file node.hpp.
Referenced by tim::cereal::load(), tim::node::tree< Tp >::operator+=(), tim::node::tree< Tp >::operator-=(), and tim::cereal::save().
|
inline |
|
static |
|
inline |
returns the hash identifier for the associated string identifier
Definition at line 377 of file node.hpp.
Referenced by tim::cereal::load(), and tim::cereal::save().
|
inline |
|
inline |
the inclusive data + statistics
Definition at line 390 of file node.hpp.
Referenced by tim::cereal::load(), tim::node::tree< Tp >::operator+=(), tim::node::tree< Tp >::operator-=(), and tim::cereal::save().
|
inline |
|
inline |
returns whether or not this node is a synchronization point and, if so, should be ignored
Definition at line 374 of file node.hpp.
Referenced by tim::cereal::load(), and tim::cereal::save().
|
inline |
bool tim::node::tree< Tp >::operator!= | ( | const tree< Tp > & | rhs | ) | const |
|
inline |
Definition at line 353 of file node.hpp.
References tim::node::tree< Tp >::exclusive(), tim::node::tree< Tp >::inclusive(), tim::node::tree< Tp >::pid(), and tim::node::tree< Tp >::tid().
|
inline |
Definition at line 364 of file node.hpp.
References tim::node::tree< Tp >::exclusive(), and tim::node::tree< Tp >::inclusive().
tree< Tp > & tim::node::tree< Tp >::operator= | ( | const graph< Tp > & | rhs | ) |
Definition at line 479 of file node.hpp.
References tim::node::graph< Tp >::data(), tim::node::graph< Tp >::depth(), tim::node::graph< Tp >::hash(), tim::node::graph< Tp >::is_dummy(), tim::node::graph< Tp >::pid(), tim::node::graph< Tp >::stats(), and tim::node::graph< Tp >::tid().
|
default |
|
defaultnoexcept |
bool tim::node::tree< Tp >::operator== | ( | const tree< Tp > & | rhs | ) | const |
|
inline |
the set of process ids this data was collected from
Definition at line 387 of file node.hpp.
Referenced by tim::cereal::load(), tim::node::tree< Tp >::operator+=(), and tim::cereal::save().
|
inline |
|
inline |
the set of thread ids this data was collected from
Definition at line 384 of file node.hpp.
Referenced by tim::cereal::load(), tim::node::tree< Tp >::operator+=(), and tim::cereal::save().
|
inline |