rename LOOP timer to TOTAL and implement timers command
This commit is contained in:
@ -54,9 +54,9 @@ void Minimize::command(int narg, char **arg)
|
||||
update->minimize->setup();
|
||||
|
||||
timer->init();
|
||||
timer->barrier_start(Timer::LOOP);
|
||||
timer->barrier_start(Timer::TOTAL);
|
||||
update->minimize->run(update->nsteps);
|
||||
timer->barrier_stop(Timer::LOOP);
|
||||
timer->barrier_stop(Timer::TOTAL);
|
||||
|
||||
update->minimize->cleanup();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user