"Quick" versions of TTS calculations

Dirk Hohndel dirk at hohndel.org
Wed Jun 11 12:28:32 PDT 2014


On Wed, Jun 11, 2014 at 09:06:00PM +0200, Anton Lundin wrote:
> Hi.
> 
> After "Force TTS/NDL calculation off if things take too long" i kinda
> grew tired of always re-enabling the TTS/NDL button, so i thought about
> it a bit.
> 
> Attached is a one patch that uses the TTS from the previous data point
> if the stopdepth and stoptime calculated are the same. This shows me a
> speedup of about 4 times on some of my longer dives.
> 
> Attached is also another variant that doesn't calculate NDL/TTS on every
> sample, but only every 60 seconds. I run my OSTC3 with 2s sample
> interval so thats also quite a speedup.
> 
> 
> I can see us applying any of these two techniques, as long as we stop
> disabling TTS/NDL when i would like to look at the numbers from my
> dives.

I can apply those - you tell me which one you prefer.
I STILL want to automatically disable TTS/NDL. We can have an option that
overrides that, but by default, if people have dives where this takes to
long, I'd much rather disable it and not have Joe User think Subsurface is
hung.

/D


More information about the subsurface mailing list