[PATCH] Fix broken average SAC calculation

Linus Torvalds torvalds at linux-foundation.org
Thu Mar 29 22:42:43 PDT 2012

On Thu, Mar 29, 2012 at 10:10 PM, Miika Turkia <miika.turkia at gmail.com> wrote:
> old_sac_time was always 0 when calculating average air consumption. Thus
> the results were incorrect. Moving the counter to stats_t structure as
> suggested by Linus.

Thanks, looks ok now, but when I started "testing" this patch I
realized that I don't see what value it miscalculates.

I'm sorry, can you give an example of the error..


More information about the subsurface mailing list