mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
e0ac1c9a26
commit
eb07faef00
4 changed files with 24 additions and 31 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue