diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-04-20 15:55:51 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-04-20 15:55:51 -0700 |
commit | eb07faef00c98ddcca3d0035d23661a3c4f30448 (patch) | |
tree | e51017e7939e1457447ae758f5784a0a7ce72bff /core/profile.h | |
parent | e0ac1c9a26c6f82a42dea3d25bd0c8bd2a68ceb6 (diff) | |
download | subsurface-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.h | 6 |
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; |