Re: [dpdk-dev] [PATCH v3 1/1] test/trace: collect perf data after worker threads exit

2021-04-14 Thread David Marchand
On Wed, Mar 10, 2021 at 3:15 AM Feifei Wang wrote: > > The measure_perf function should be executed after worker threads exit > to collect correct perf data. Otherwise, while workers are running, the > main thread may get incomplete data from workers. > > In the meanwhile, remove unnecessary barri

[dpdk-dev] [PATCH v3 1/1] test/trace: collect perf data after worker threads exit

2021-03-09 Thread Feifei Wang
The measure_perf function should be executed after worker threads exit to collect correct perf data. Otherwise, while workers are running, the main thread may get incomplete data from workers. In the meanwhile, remove unnecessary barrier in the test. For signal variables "ldata.done" and "ldata.st

[dpdk-dev] [PATCH v3 1/1] test/trace: collect perf data after worker threads exit

2021-03-09 Thread Feifei Wang
The measure_perf function should be executed after worker threads exit to collect correct perf data. Otherwise, while workers are running, the main thread may get incomplete data from workers. In the meanwhile, remove unnecessary barrier in the test. For signal variables "ldata.done" and "ldata.st