Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SWIFT
SWIFTsim
Commits
acf43028
Commit
acf43028
authored
Dec 06, 2012
by
Pedro Gonnet
Browse files
more local queue selection.
Former-commit-id: 1d4a50edf9497409fa0ff166b7252dbadd01e0d5
parent
a83dabf4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/runner.c
View file @
acf43028
...
...
@@ -477,7 +477,7 @@ void *runner_main ( void *data ) {
/* Set some convenient local data. */
keep
=
e
->
policy
&
engine_policy_keep
;
myq
=
&
e
->
queues
[
threadID
%
e
->
nr_queues
];
myq
=
&
e
->
queues
[
threadID
*
e
->
nr_queues
/
e
->
nr_threads
];
tpq
=
ceil
(
((
double
)
e
->
nr_threads
)
/
e
->
nr_queues
);
#ifdef TIMER
stalled
=
0
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment