Searched refs:nr_pct (Results 1 - 2 of 2) sorted by relevance

/linux-master/tools/testing/selftests/net/forwarding/
H A Dtc_police.sh145 local nr_pct=$((100 * (nr - er) / er))
146 ((-10 <= nr_pct && nr_pct <= 10))
147 check_err $? "Expected rate $(humanize $er), got $(humanize $nr), which is $nr_pct% off. Required accuracy is +-10%."
195 local nr_pct=$((100 * (nr - er) / er))
196 ((-10 <= nr_pct && nr_pct <= 10))
197 check_err $? "Expected rate $(humanize $er), got $(humanize $nr), which is $nr_pct% off. Required accuracy is +-10%."
265 local nr_pct=$((100 * (nr - er) / er))
266 ((-10 <= nr_pct
[all...]
H A Dsch_tbf_core.sh228 local nr_pct=$((100 * (nr - er) / er))
229 ((-5 <= nr_pct && nr_pct <= 5))
230 xfail_on_slow check_err $? "Expected rate $(humanize $er), got $(humanize $nr), which is $nr_pct% off. Required accuracy is +-5%."

Completed in 147 milliseconds