summaryrefslogtreecommitdiffstats
path: root/file.h
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2012-03-30 08:10:05 +0300
committerGravatar Linus Torvalds <torvalds@linux-foundation.org>2012-03-29 22:37:32 -0700
commit9fad1cb50f5976767c06aefe6d2b4d919d9a9634 (patch)
tree837187569aeec91ff1e3341c273bd1501df85423 /file.h
parentf69be7b571def1ae35ff7e96bdbac0de94df50fc (diff)
downloadsubsurface-9fad1cb50f5976767c06aefe6d2b4d919d9a9634.tar.gz
Fix broken average SAC calculation
old_sac_time was always 0 when calculating average air consumption. Thus the results were incorrect. Move the counter to stats_t structure as suggested by Linus. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'file.h')
0 files changed, 0 insertions, 0 deletions