From: Qiming Yang Date: Tue, 20 Jun 2017 03:24:11 +0000 (+0800) Subject: test/alarm: add delay tolerance X-Git-Tag: spdx-start~2497 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=82d708384ff0bfeaa282b338f5e9dcd7e3fa41ed;hp=82d708384ff0bfeaa282b338f5e9dcd7e3fa41ed;p=dpdk.git test/alarm: add delay tolerance Because accuracy of timing to the microsecond is not guaranteed in rte_eal_alarm_set, this function will not be called before the requested time, but may be called a period of time afterwards which can not be calculated. In order to ensure test alarm running success, this patch added the delay time before check the flag. Signed-off-by: Qiming Yang Acked-by: Jing Chen ---