[lng-odp] [PATCH] test: synchronizers: use thread_id instead of cpu_id to detect slow thread

2015-05-04 Thread Nicolas Morey-Chaisemartin
The test assumes that cpu_id ranges from 0 to n CPU - 1 which is not necessary true on all archs. Meanwhile thread ids are always ranging from 0 to N (0 here is for the main test thread) Signed-off-by: Nicolas Morey-Chaisemartin --- test/validation/odp_synchronizers.c | 2 +- 1 file changed, 1

Re: [lng-odp] [PATCH] test: synchronizers: use thread_id instead of cpu_id to detect slow thread

2015-05-04 Thread Bill Fischofer
On Monday, May 4, 2015, Nicolas Morey-Chaisemartin wrote: > The test assumes that cpu_id ranges from 0 to n CPU - 1 which is not > necessary true on all archs. > Meanwhile thread ids are always ranging from 0 to N (0 here is for the > main test thread) > > Signed-off-by: Nicolas Morey-Chaisemarti

Re: [lng-odp] [PATCH] test: synchronizers: use thread_id instead of cpu_id to detect slow thread

2015-05-13 Thread Maxim Uvarov
Merged, Maxim. On 05/04/2015 19:05, Bill Fischofer wrote: On Monday, May 4, 2015, Nicolas Morey-Chaisemartin > wrote: The test assumes that cpu_id ranges from 0 to n CPU - 1 which is not necessary true on all archs. Meanwhile thread ids are always ranging