need to re-init timers after initial setup
This commit is contained in:
@ -310,6 +310,7 @@ void PRD::command(int narg, char **arg)
|
|||||||
time_dephase = time_dynamics = time_quench = time_comm = time_output = 0.0;
|
time_dephase = time_dynamics = time_quench = time_comm = time_output = 0.0;
|
||||||
bigint clock = 0;
|
bigint clock = 0;
|
||||||
|
|
||||||
|
timer->init();
|
||||||
timer->barrier_start();
|
timer->barrier_start();
|
||||||
time_start = timer->get_wall(Timer::TOTAL);
|
time_start = timer->get_wall(Timer::TOTAL);
|
||||||
|
|
||||||
|
|||||||
@ -274,6 +274,7 @@ void TAD::command(int narg, char **arg)
|
|||||||
nbuild = ndanger = 0;
|
nbuild = ndanger = 0;
|
||||||
time_neb = time_dynamics = time_quench = time_comm = time_output = 0.0;
|
time_neb = time_dynamics = time_quench = time_comm = time_output = 0.0;
|
||||||
|
|
||||||
|
timer->init();
|
||||||
timer->barrier_start();
|
timer->barrier_start();
|
||||||
time_start = timer->get_wall(Timer::TOTAL);
|
time_start = timer->get_wall(Timer::TOTAL);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user