Re: [dpdk-dev] [PATCH 3/4] app/flow-perf: change clock measurement functions

2021-01-07 Thread Thomas Monjalon
26/11/2020 12:15, Wisam Jaddo: > The clock() function is not good practice to use for multiple > cores/threads, since it measures the CPU time used by the process > and not the wall clock time, while when running through multiple > cores/threads simultaneously, we can burn through CPU time much > f

[dpdk-dev] [PATCH 3/4] app/flow-perf: change clock measurement functions

2020-11-26 Thread Wisam Jaddo
The clock() function is not good practice to use for multiple cores/threads, since it measures the CPU time used by the process and not the wall clock time, while when running through multiple cores/threads simultaneously, we can burn through CPU time much faster. As a result this commit will chan