X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FUtils%2FStatisticAccumulator.hh;h=f3b4946c4f9ff63f3d60574d390c515a83bda878;hb=bc566051d5a894c8ba0f9a70f3552306bc33e1a1;hp=08ba3447f0d6c21cbda70a32e85a22809270d621;hpb=f989ecdff86b18cdfca6d65c15ae297c117028e0;p=senf.git diff --git a/senf/Utils/StatisticAccumulator.hh b/senf/Utils/StatisticAccumulator.hh index 08ba344..f3b4946 100644 --- a/senf/Utils/StatisticAccumulator.hh +++ b/senf/Utils/StatisticAccumulator.hh @@ -67,8 +67,12 @@ namespace senf { /**< This member reset all values. */ void accumulate(T value); ///< Gather value to be accumulated. - /**< This method accumulate a value. + /**< This method accumulates a value. \param[in] value to be accumulated value*/ + void setLastAvg(T value); + ///< If no real data was collected, this method specifies the min/avg/max value to be returned. + /**< This method specifies the the min/avg/max value to be returned if no real data was colelcted + \param[in] value to be returned*/ public: T min() const;