Lines Matching full:tolerance
16 # the specified threshold) or bad (over it). There is also a tolerance
18 # tolerance from the given threshold and uses it as the actual threshold.
34 echo "syntax: $0 <script> <time> <tolerance> [patchrevlist]"
38 echo " tolerance - tolerance (in seconds, suffix m for minutes or % for"
80 echo "'$3' is not a valid number for tolerance"
106 tolerance=$3
118 if [[ $tolerance == *m* ]] ; then
119 tolerance=`echo $tolerance | sed s/m/*60/ | bc`
120 elif [[ $tolerance == *%* ]] ; then
121 tolerance=`echo $tolerance | sed s/%//`
122 tolerance=`echo "scale = 2; (($tolerance * $timethreshold) / 100)" | bc`
220 ret=`echo "scale = 2; $timeresult > $timethreshold - $tolerance" | bc`