aboutsummaryrefslogtreecommitdiffstats
path: root/stats/statsvariables.h
diff options
context:
space:
mode:
Diffstat (limited to 'stats/statsvariables.h')
-rw-r--r--stats/statsvariables.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/stats/statsvariables.h b/stats/statsvariables.h
index 06fb90f2a..964878550 100644
--- a/stats/statsvariables.h
+++ b/stats/statsvariables.h
@@ -26,6 +26,8 @@ enum class StatsOperation : int {
Mean,
TimeWeightedMean,
Sum,
+ Min,
+ Max,
Invalid
};
@@ -36,6 +38,8 @@ struct StatsOperationResults {
double mean;
double timeWeightedMean;
double sum;
+ double min;
+ double max;
StatsOperationResults(); // Initialize to invalid (e.g. no dives)
bool isValid() const;
double get(StatsOperation op) const;