diff options
author | Miika Turkia <miika.turkia@gmail.com> | 2012-03-30 08:10:05 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-29 22:37:32 -0700 |
commit | 9fad1cb50f5976767c06aefe6d2b4d919d9a9634 (patch) | |
tree | 837187569aeec91ff1e3341c273bd1501df85423 /uemis.c | |
parent | f69be7b571def1ae35ff7e96bdbac0de94df50fc (diff) | |
download | subsurface-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 'uemis.c')
0 files changed, 0 insertions, 0 deletions