KaMPIng 0.1.1
Flexible and (near) zero-overhead C++ bindings for MPI
Loading...
Searching...
No Matches
kamping::measurements::internal::Tree< NodeType > Struct Template Reference

Tree consisting of objects of type NodeType. The tree constitutes a hierarchy of measurements such that each node correspond to one (or multiple) measurement(s) with the same name. For timer tree, the measurements corresponding to the node's children are all started and stopped while the node's current time measurement is running. More...

#include <measurement_utils.hpp>

Public Member Functions

 Tree ()
 Construct a TimerTree consisting only of a root node.
 
void reset ()
 Resets the root node (i.e. deletes and assigns a new empty node).
 

Public Attributes

NodeType root
 Root node of the tree.
 
NodeTypecurrent_node
 Pointer to the currently active node of the tree.
 

Detailed Description

template<typename NodeType>
struct kamping::measurements::internal::Tree< NodeType >

Tree consisting of objects of type NodeType. The tree constitutes a hierarchy of measurements such that each node correspond to one (or multiple) measurement(s) with the same name. For timer tree, the measurements corresponding to the node's children are all started and stopped while the node's current time measurement is running.

Template Parameters
NodeTypeUnderlying node type.

The documentation for this struct was generated from the following file: