mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-29 15:44:02 +00:00
test/timer: adjust min timer period to 250 us
In the context of #5138, the timer drivers for NOVA and base-hw had been changed to support timeouts at a precision of 250 us (from formerly 1 ms). Adjust the test to the new expected lower bound.
This commit is contained in:
parent
956ec2f84c
commit
5b4e1d22d9
@ -92,7 +92,7 @@ struct Stress_test
|
||||
struct Slave
|
||||
{
|
||||
static constexpr int DURATION_US = DURATION_SEC * 1000 * 1000;
|
||||
static constexpr int MIN_TIMER_PERIOD_US = 1000;
|
||||
static constexpr int MIN_TIMER_PERIOD_US = 250;
|
||||
static constexpr int MAX_CNT_BASE = DURATION_US / MIN_TIMER_PERIOD_US;
|
||||
static constexpr int MAX_CNT_TOLERANCE = MAX_CNT_BASE / 9;
|
||||
static constexpr int MAX_CNT = MAX_CNT_BASE + MAX_CNT_TOLERANCE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user