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
fb51caf3
Commit
fb51caf3
authored
Mar 03, 2016
by
Peter W. Draper
Browse files
Remove debugging output of tick converted times
parent
8e07c87b
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/engine.c
View file @
fb51caf3
...
...
@@ -1557,8 +1557,8 @@ void engine_step(struct engine *e) {
if
(
e
->
nodeID
==
0
)
{
/* Print some information to the screen */
printf
(
"%d %e %e %d
%.3f
%.3f
\n
"
,
e
->
step
,
e
->
time
,
e
->
timeStep
,
updates
,
e
->
wallclock_time
,
e
->
wallclock_time_ticks
);
printf
(
"%d %e %e %d %.3f
\n
"
,
e
->
step
,
e
->
time
,
e
->
timeStep
,
updates
,
e
->
wallclock_time
);
fflush
(
stdout
);
/* Write some energy statistics */
...
...
@@ -1626,9 +1626,6 @@ void engine_step(struct engine *e) {
clocks_gettime
(
&
time2
);
e
->
wallclock_time_ticks
=
((
double
)
timers
[
timer_count
-
1
])
/
clocks_get_cpufreq
()
*
1000
;
e
->
wallclock_time
=
(
float
)
clocks_diff
(
&
time1
,
&
time2
);
// printParticle(e->s->parts, e->s->xparts,1000, e->s->nr_parts);
// printParticle(e->s->parts, e->s->xparts,515050, e->s->nr_parts);
...
...
src/engine.h
View file @
fb51caf3
...
...
@@ -147,7 +147,6 @@ struct engine {
/* Wallclock time of the last time-step */
float
wallclock_time
;
float
wallclock_time_ticks
;
/* Force the engine to rebuild? */
int
forcerebuild
;
...
...
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