cpu_quota zynq_qemu: raise error tolerance
On Qemu, the test results for Xilinx Zynq-7000 are less stable than usual. Ref #1805
This commit is contained in:
parent
02ef3d13a3
commit
a3a8978d77
|
@ -154,6 +154,12 @@ proc check_counter { name opt cnt total_cnt } {
|
||||||
#
|
#
|
||||||
if {[have_spec x86]} { set tol 0.02 }
|
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.
|
||||||
|
#
|
||||||
|
if {[have_spec zynq_qemu]} { set tol 0.03 }
|
||||||
|
|
||||||
if {[expr $total_cnt != 0]} { set is [expr double($cnt) / $total_cnt ] }
|
if {[expr $total_cnt != 0]} { set is [expr double($cnt) / $total_cnt ] }
|
||||||
|
|
||||||
set err [expr $is - $opt]
|
set err [expr $is - $opt]
|
||||||
|
|
Loading…
Reference in New Issue