projects
/
platform
/
upstream
/
intel-gpu-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc62a64
)
tests/gem_flink_race: correct thread count
author
Daniel Vetter
<daniel.vetter@ffwll.ch>
Wed, 24 Jul 2013 15:04:35 +0000
(17:04 +0200)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Wed, 24 Jul 2013 15:04:35 +0000
(17:04 +0200)
They all race against each another, no worker-slave relationship
like in the other subtest.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
tests/gem_flink_race.c
patch
|
blob
|
history
diff --git
a/tests/gem_flink_race.c
b/tests/gem_flink_race.c
index
adb425d
..
97c6e67
100644
(file)
--- a/
tests/gem_flink_race.c
+++ b/
tests/gem_flink_race.c
@@
-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));