Fix calculation of average loop time
Authored by: dannybackx 2019-02-19
Parent: [r177]
Child: [r179]