Re: [dpdk-dev] [PATCH 2/2] timer: support EAL functions on Windows

2020-04-24 Thread Dmitry Kozlyuk
On 2020-04-23 17:43 GMT+0300 Fady Bader wrote: > +uint64_t > +get_tsc_freq(void) > +{ > + uint64_t tsc_freq; > + LARGE_INTEGER Frequency; > + > + QueryPerformanceFrequency(&Frequency); > + /* > + QueryPerformanceFrequency output is in khz. > + Mulitply by 1K to obtain the tr

Re: [dpdk-dev] [PATCH 2/2] timer: support EAL functions on Windows

2020-04-23 Thread Dmitry Kozlyuk
On 2020-04-23 17:43 GMT+0300 Fady Bader wrote: [snip] > diff --git a/lib/librte_eal/windows/eal_timer.c > b/lib/librte_eal/windows/eal_timer.c > new file mode 100644 > index 0..73eaff948 > --- /dev/null > +++ b/lib/librte_eal/windows/eal_timer.c > @@ -0,0 +1,67 @@ > +/* SPDX-License-Identi

[dpdk-dev] [PATCH 2/2] timer: support EAL functions on Windows

2020-04-23 Thread Fady Bader
Implemented the needed Windows eal timer functions. Signed-off-by: Fady Bader --- lib/librte_eal/common/meson.build | 1 + lib/librte_eal/windows/eal.c| 6 +++ lib/librte_eal/windows/eal_timer.c | 67 + lib/librte_eal/windows/include/rte_o