mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-10 01:16:18 +00:00
tests/gem_flink_race: correct thread count
They all race against each another, no worker-slave relationship like in the other subtest. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
bc62a64b8a
commit
db225aa38d
@ -164,9 +164,7 @@ static void test_flink_close(void)
|
||||
int obj_count = get_object_count();
|
||||
void *status;
|
||||
|
||||
num_threads = sysconf(_SC_NPROCESSORS_ONLN) - 1;
|
||||
if (!num_threads)
|
||||
num_threads = 1;
|
||||
num_threads = sysconf(_SC_NPROCESSORS_ONLN);
|
||||
|
||||
threads = calloc(num_threads, sizeof(pthread_t));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user