Skip to content
Commit 1cc256b9 authored by Morten Rasmussen's avatar Morten Rasmussen Committed by Valentin Schneider
Browse files

lisa/test: PELTTask:test_{load,util}_avg_behaviour fix

The test case uses the PELT simulator to compare against the traced PELT
signal. Due to simplifications in the PELT simulator it is not possible
to simulate exactly the same PELT signal as traced. Multiple sources of
errors commonly adds up to more than 5%. Increasing the error margin to
7% makes this problem go away.

The patch also changes the period of the rt-app task to 16.384ms to
better align with the simulated one. This allow us to rip out the time
fudging code too.

Increasing the margin does reduce the value of the test-case, but it is
either that or rewriting the PELT simulator if this test-case is to be
preserved.
parent 960b3b1e
Loading
Loading
Loading
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