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
bf2bb3a9
Commit
bf2bb3a9
authored
Oct 20, 2012
by
Pedro Gonnet
Browse files
fix task acceptance criteria.
Former-commit-id: f5e43eb2f0f92800d1b44c99bcf1b0b1dfea9eab
parent
e54b2d82
Changes
1
Hide whitespace changes
Inline
Side-by-side
examples/test.c
View file @
bf2bb3a9
...
...
@@ -696,6 +696,10 @@ int main ( int argc , char *argv[] ) {
for
(
k
=
1
;
k
<
runner_timer_count
;
k
++
)
printf
(
" %.3f"
,
((
double
)
runner_timer
[
k
])
/
CPU_TPS
*
1000
);
printf
(
" %.3f ] ms.
\n
"
,
((
double
)(
getticks
()
-
tic
))
/
CPU_TPS
*
1000
);
printf
(
"main: queue timers are [ %.3f"
,
queue_timer
[
0
]
/
CPU_TPS
*
1000
);
for
(
k
=
1
;
k
<
queue_timer_count
;
k
++
)
printf
(
" %.3f"
,
((
double
)
queue_timer
[
k
])
/
CPU_TPS
*
1000
);
printf
(
" ] ms.
\n
"
);
#else
printf
(
"main: runner_run with %i threads took %.3f ms.
\n
"
,
nr_threads
,
((
double
)(
getticks
()
-
tic
))
/
CPU_TPS
*
1000
);
#endif
...
...
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