Commit 53e4ee4f authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

need to re-init timers after initial setup

parent b60cff7e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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);

+1 −0
Original line number Diff line number Diff line
@@ -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);