rename LOOP timer to TOTAL and implement timers command

This commit is contained in:
Axel Kohlmeyer
2013-07-25 11:51:54 +02:00
parent b341cb4e1e
commit a00c94fa29
15 changed files with 146 additions and 110 deletions

View File

@ -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();