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
b739e91f
Commit
b739e91f
authored
Jun 21, 2013
by
Pedro Gonnet
Browse files
use new interface.
Former-commit-id: 2fca969d5a53e65e3a542171613c60cc37da2c4b
parent
7172a8a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
examples/test.c
View file @
b739e91f
...
...
@@ -874,9 +874,9 @@ int main ( int argc , char *argv[] ) {
/* Inauguration speech. */
if
(
runs
<
INT_MAX
)
printf
(
"main: starting for %i steps with %i threads and %i queues...
\n
"
,
runs
,
e
.
nr_threads
,
e
.
nr_queues
);
printf
(
"main: starting for %i steps with %i threads and %i queues...
\n
"
,
runs
,
e
.
nr_threads
,
e
.
sched
.
nr_queues
);
else
printf
(
"main: starting for t=%.3e with %i threads and %i queues...
\n
"
,
clock
,
e
.
nr_threads
,
e
.
nr_queues
);
printf
(
"main: starting for t=%.3e with %i threads and %i queues...
\n
"
,
clock
,
e
.
nr_threads
,
e
.
sched
.
nr_queues
);
fflush
(
stdout
);
/* Legend. */
...
...
@@ -893,7 +893,7 @@ int main ( int argc , char *argv[] ) {
#endif
/* Take a step. */
engine_step
(
&
e
,
0
);
engine_step
(
&
e
);
if
(
j
%
100
==
0
)
write_output
(
&
e
);
...
...
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