Skip to content
Snippets Groups Projects
Commit e6bb48cc authored by Romain Vimont's avatar Romain Vimont Committed by Romain Vimont
Browse files

vout: improve chrono estimation on start

During a new measurement, the current state of the chrono were always
weighted in the same way, regardless of the number of samples that
contributed in the values. As a consequence, the initial (arbitrary)
value was too impactful.

Instead, until there are enough values (according to the provided
"shift"), weight the average and mean absolute deviation by the number
of contributing samples.

In particular, the first real sample overrides the arbitrary initial
average.
parent 4c7b2517
No related branches found
Tags 2.5.16
Loading
Pipeline #119145 passed with stage
in 21 minutes and 31 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment