mbox

[v3,0/2] eal timer split and implementation for Windows

Message ID 20200503083842.9312-1-fady@mellanox.com (mailing list archive)
Headers

Message

Fady Bader May 3, 2020, 8:38 a.m. UTC
  From: Fady Bader <NTYOK.MTL.COM+fady@l-wincomp04-vm.labs.mlnx>

This patchset splits OS dependent EAL timer functions and implements them for windows.

v2:
    * fixing styles and correctness errors.
v3:
	* fixing correctness, get_tsc_freq was reimplemented.

Depends-on: series-9374 ("Windows basic memory management")

Fady Bader (2):
  timer: move from common to Unix directory
  timer: support EAL functions on Windows

 lib/librte_eal/common/eal_common_timer.c | 22 ------
 lib/librte_eal/common/meson.build        |  1 +
 lib/librte_eal/unix/eal_timer.c          | 29 +++++++
 lib/librte_eal/unix/meson.build          |  1 +
 lib/librte_eal/windows/eal.c             |  6 ++
 lib/librte_eal/windows/eal_timer.c       | 96 ++++++++++++++++++++++++
 lib/librte_eal/windows/include/rte_os.h  |  2 +
 lib/librte_eal/windows/meson.build       |  1 +
 8 files changed, 136 insertions(+), 22 deletions(-)
 create mode 100644 lib/librte_eal/unix/eal_timer.c
 create mode 100644 lib/librte_eal/windows/eal_timer.c