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

@ -171,9 +171,9 @@ void Run::command(int narg, char **arg)
} else output->setup(0);
timer->init();
timer->barrier_start(Timer::LOOP);
timer->barrier_start(Timer::TOTAL);
update->integrate->run(nsteps);
timer->barrier_stop(Timer::LOOP);
timer->barrier_stop(Timer::TOTAL);
update->integrate->cleanup();
@ -209,9 +209,9 @@ void Run::command(int narg, char **arg)
} else output->setup(0);
timer->init();
timer->barrier_start(Timer::LOOP);
timer->barrier_start(Timer::TOTAL);
update->integrate->run(nsteps);
timer->barrier_stop(Timer::LOOP);
timer->barrier_stop(Timer::TOTAL);
update->integrate->cleanup();