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
1089c498
Commit
1089c498
authored
Mar 26, 2016
by
Matthieu Schaller
Browse files
Better output
parent
fcb58df6
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/test27cells.c
View file @
1089c498
...
...
@@ -299,7 +299,7 @@ int main(int argc, char *argv[]) {
}
/* Output timing */
message
(
"SWIFT calculation took
%
lli ticks."
,
time
/
runs
);
message
(
"SWIFT calculation took
: %15
lli ticks."
,
time
/
runs
);
/* Now perform a brute-force version for accuracy tests */
...
...
@@ -325,7 +325,7 @@ int main(int argc, char *argv[]) {
dump_particle_fields
(
outputFileName
,
main_cell
,
cells
);
/* Output timing */
message
(
"Brute force calculation took
%
lli ticks."
,
toc
-
tic
);
message
(
"Brute force calculation took
: %15
lli ticks."
,
toc
-
tic
);
/* Clean things to make the sanitizer happy ... */
for
(
int
i
=
0
;
i
<
27
;
++
i
)
clean_up
(
cells
[
i
]);
...
...
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