need to re-init timers after initial setup

This commit is contained in:
Axel Kohlmeyer 2017-09-25 23:20:42 -04:00
parent b60cff7e77
commit 53e4ee4f2d
2 changed files with 2 additions and 0 deletions

View File

@ -310,6 +310,7 @@ void PRD::command(int narg, char **arg)
time_dephase = time_dynamics = time_quench = time_comm = time_output = 0.0;
bigint clock = 0;
timer->init();
timer->barrier_start();
time_start = timer->get_wall(Timer::TOTAL);

View File

@ -274,6 +274,7 @@ void TAD::command(int narg, char **arg)
nbuild = ndanger = 0;
time_neb = time_dynamics = time_quench = time_comm = time_output = 0.0;
timer->init();
timer->barrier_start();
time_start = timer->get_wall(Timer::TOTAL);