mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-22 06:57:51 +00:00
x86 cpu_quota: lower error tolerance
Previously, on X86, the timer driver used the PIT with a maximum timeout of 54 ms. Thus, the driver frequently interrupted the counters with highest priority to update the timer. This is why we needed a higher error tolerance as for ARM where the driver, once configured, can sleep for the whole test timeout. Now, we use the kernel timer and the problem seems to be exits no longer. Ref #2304
This commit is contained in:
parent
574a1bd198
commit
b05b5616c8
@ -139,15 +139,6 @@ proc check_counter { name opt cnt total_cnt } {
|
||||
set tol 0.01
|
||||
set is 0
|
||||
|
||||
#
|
||||
# On X86, the timer driver uses the PIT with a maximum timeout of 54 ms.
|
||||
# Thus, the driver frequently interrupts the counters with highest
|
||||
# priority to update the timer. This is why we need a higher error
|
||||
# tolerance as for ARM where the driver, once configured, can sleep for
|
||||
# the whole test timeout.
|
||||
#
|
||||
if {[have_spec x86]} { set tol 0.02 }
|
||||
|
||||
#
|
||||
# Zynq is currently tested merely in Qemu and most likely because of
|
||||
# that, the results are less precise.
|
||||
|
Loading…
Reference in New Issue
Block a user