summaryrefslogtreecommitdiffstats
path: root/core/profile.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-20 15:55:51 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-20 15:55:51 -0700
commiteb07faef00c98ddcca3d0035d23661a3c4f30448 (patch)
treee51017e7939e1457447ae758f5784a0a7ce72bff /core/profile.h
parente0ac1c9a26c6f82a42dea3d25bd0c8bd2a68ceb6 (diff)
downloadsubsurface-eb07faef00c98ddcca3d0035d23661a3c4f30448.tar.gz
Only do 9 minute interval for min/max/avg
We don't use 3 and 6 minute values anywhere, so why calculate them. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/profile.h')
-rw-r--r--core/profile.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/profile.h b/core/profile.h
index 21cc263b7..b837b31a1 100644
--- a/core/profile.h
+++ b/core/profile.h
@@ -50,9 +50,9 @@ struct plot_data {
double mod, ead, end, eadd;
velocity_t velocity;
int speed;
- // stats over 3, 6, 9 minute windows:
- int min[3], max[3]; // indices into pi->entry[]
- int avg[3]; // actual depth average
+ // stats over 9 minute window:
+ int min, max; // indices into pi->entry[]
+ int avg; // actual depth average
/* values calculated by us */
unsigned int in_deco_calc : 1;
int ndl_calc;