Module: check_mk
Branch: master
Commit: 54c18a35974f096c0c6531450c254302fe6d09ec
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=54c18a35974f09…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Mon Nov 20 15:13:14 2017 +0100
Unified aggregators a bit. Made edge cases consistent (Inf or NaN).
Change-Id: Ib567c147142234041a717ca4d2f03edd73fb192e
---
livestatus/src/DoubleAggregator.cc | 52 ++++++++++++------------
livestatus/src/IntAggregator.cc | 75 ++++++++++++++---------------------
livestatus/src/IntAggregator.h | 2 +-
livestatus/src/PerfdataAggregator.cc | 60 +++++++++++++++++-----------
livestatus/src/PerfdataAggregator.h | 2 +-
livestatus/src/TimeAggregator.cc | 77 +++++++++++++++---------------------
livestatus/src/TimeAggregator.h | 2 +-
7 files changed, 128 insertions(+), 142 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=54c18a3597…