forked from lijiext/lammps
need to re-init timers after initial setup
This commit is contained in:
parent
b60cff7e77
commit
53e4ee4f2d
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue