KaMPIng 0.1.1
Flexible and (near) zero-overhead C++ bindings for MPI
|
#include <string>
#include <unordered_map>
#include <variant>
#include <vector>
Go to the source code of this file.
Typedefs | |
template<typename T > | |
using | kamping::measurements::ScalarOrContainer = std::variant<T, std::vector<T>> |
Either a scalar or vector of type T . | |
Enumerations | |
enum class | kamping::measurements::LocalAggregationMode { accumulate , append } |
Enum to specify how time measurements with same key shall be aggregated locally. More... | |
enum class | kamping::measurements::GlobalAggregationMode { min , max , sum , gather } |
Enum to specify how time durations with same key shall be aggregated across the participating ranks. More... | |
Functions | |
std::string | kamping::measurements::get_string (GlobalAggregationMode mode) |
Returns name of given GlobalAggregationMode. | |
This file contains functionality that is related to measurement aggregation.
using kamping::measurements::ScalarOrContainer = std::variant<T, std::vector<T>> |
Either a scalar or vector of type T
.
T | Type. |
|
strong |
Enum to specify how time durations with same key shall be aggregated across the participating ranks.
|
strong |
Enum to specify how time measurements with same key shall be aggregated locally.
|
inline |
Returns name of given GlobalAggregationMode.
mode | Given mode for which a name as a string is requested. |