From 053ca037cb92123ab0aee30552a2fa23fb0976d5 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Tue, 4 Jun 2019 16:55:21 +0200 Subject: [PATCH] hist: a few fixes and missing functions --- common/include/villas/hist.hpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/common/include/villas/hist.hpp b/common/include/villas/hist.hpp index afc80b7d8..4a9634f33 100644 --- a/common/include/villas/hist.hpp +++ b/common/include/villas/hist.hpp @@ -85,23 +85,32 @@ public: { return high; } + double getLow() const { return low; } + double getHighest() const { return highest; } + double getLowest() const { return lowest; } + double getLast() const { return last; } + cnt_t getTotal() const + { + return total; + } + protected: double resolution; /**< The distance between two adjacent buckets. */