|
KaMPIng 0.2.0
Flexible and (near) zero-overhead C++ bindings for MPI
|
Class representing a node in the counter tree. Each node represents a measurement (or multiple with the same key). A node can have multiple children which represent nested measurements. The measurements associated with a node's children are executed while the node's measurement is still active. More...
#include <measurement_utils.hpp>


Additional Inherited Members | |
Public Member Functions inherited from kamping::measurements::internal::TreeNode< CounterTreeNode< DataType > > | |
| TreeNode () | |
| Constructs node without pointer to parent and empty name. | |
| TreeNode (std::string const &name) | |
| Constructs node without pointer to parent. | |
| TreeNode (std::string const &name, CounterTreeNode< DataType > *parent) | |
| Constructs node pointer to parent. | |
| auto & | find_or_insert (std::string const &name) |
| Searches the node's children for a node with the given name. If there is no such child a new node is inserted. | |
| auto & | parent_ptr () |
| Access to the parent pointer. | |
| auto const & | children () const |
| Access to the node's children. | |
| auto const & | name () const |
| Access to the node's children. | |
Public Member Functions inherited from kamping::measurements::internal::NodeMeasurements< DataType, GlobalAggregationMode::sum > | |
| void | aggregate_measurements_locally (DataType const &datapoint, LocalAggregationMode const &mode) |
| Add the result of a time measurement (i.e. a duration) to the node. | |
| auto const & | measurements () const |
| Access to stored duration(s). | |
| auto & | measurements_aggregation_operations () |
| Access to the data aggregation operations (used during the evaluation). | |
| auto const & | measurements_aggregation_operations () const |
| Access to the data aggregation operations (used during the evaluation). | |
Class representing a node in the counter tree. Each node represents a measurement (or multiple with the same key). A node can have multiple children which represent nested measurements. The measurements associated with a node's children are executed while the node's measurement is still active.
| TimePoint | Type of a point in time. |
| Duration | Type of a duration. |