KaMPIng 0.1.1
Flexible and (near) zero-overhead C++ bindings for MPI
|
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. | |
NodeType * | current_node |
Pointer to the currently active node of the tree. | |
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.
NodeType | Underlying node type. |