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

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>

Inheritance diagram for kamping::measurements::internal::CounterTreeNode< DataType >:
Collaboration diagram for kamping::measurements::internal::CounterTreeNode< DataType >:

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.
 
autofind_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.
 
autoparent_ptr ()
 Access to the parent pointer.
 
auto constchildren () const
 Access to the node's children.
 
auto constname () 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 constmeasurements () const
 Access to stored duration(s).
 
automeasurements_aggregation_operations ()
 Access to the data aggregation operations (used during the evaluation).
 
auto constmeasurements_aggregation_operations () const
 Access to the data aggregation operations (used during the evaluation).
 

Detailed Description

template<typename DataType>
class kamping::measurements::internal::CounterTreeNode< DataType >

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.

Template Parameters
TimePointType of a point in time.
DurationType of a duration.

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