KaMPIng 0.1.1
Flexible and (near) zero-overhead C++ bindings for MPI
|
Class to store measurement data points associated with a node in a measurement tree, e.g., a timer-tree. More...
#include <measurement_utils.hpp>
Public Member Functions | |
void | aggregate_measurements_locally (T 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 to store measurement data points associated with a node in a measurement tree, e.g., a timer-tree.
T | Type of the data point. |
default_global_aggregation_mode | Default mode to use for global aggregation when not further specified. |
|
inline |
Add the result of a time measurement (i.e. a duration) to the node.
datapoint | Data point which is added to the node. |
mode | The kamping::measurements::KeyAggregationMode parameter determines how multiple time measurements shall be handled. They can either be accumulated (the durations are added together) or appended (the durations are stored in a list). |
|
inline |
Access to stored duration(s).
|
inline |
Access to the data aggregation operations (used during the evaluation).
|
inline |
Access to the data aggregation operations (used during the evaluation).