Re: [dpdk-dev] [PATCH v2 1/6] eal: add internal API for current time
From: Jie Zhou <hidden>
Date: 2021-03-05 17:50:26
From: Jie Zhou <hidden>
Date: 2021-03-05 17:50:26
On Sun, Feb 14, 2021 at 05:16:11AM +0300, Dmitry Kozlyuk wrote:
Many PMDs use POSIX gettimeofday(). Add rte_time_get_us() function to obtain current time with microsecond precision on all platforms. Signed-off-by: Dmitry Kozlyuk <redacted> --- lib/librte_eal/include/rte_time.h | 17 +++++++++++++++++ lib/librte_eal/rte_eal_exports.def | 1 + lib/librte_eal/unix/eal_unix_timer.c | 13 +++++++++++++ lib/librte_eal/version.map | 1 + lib/librte_eal/windows/eal_timer.c | 21 ++++++++++++++++++++- 5 files changed, 52 insertions(+), 1 deletion(-)
Acked-by: Jie Zhou <redacted>