-
Notifications
You must be signed in to change notification settings - Fork 298
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace linked lists in LSC averaging
I really don't know why they were there.
- Loading branch information
Showing
1 changed file
with
31 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
To get accurate results, you want to sample buffer[pos - 1h], buffer[pos - 5m] and buffer[pos - 1m] separately. If you don't, any spikes that happened an hour ago will make your 1m/5m averages go negative.