incorporate print levels into output in finish.

This commit is contained in:
Axel Kohlmeyer
2013-07-26 18:40:19 +02:00
parent ab8c4854ba
commit bbde2c4a81
3 changed files with 26 additions and 15 deletions

View File

@ -113,6 +113,7 @@ void Timer::barrier_start()
MPI_Barrier(world);
if (_level < LOOP) return;
if (_level > NORMAL) current_cpu = CPU_Time();
current_wall = MPI_Wtime();
@ -130,6 +131,7 @@ void Timer::barrier_stop()
MPI_Barrier(world);
if (_level < LOOP) return;
if (_level > NORMAL) current_cpu = CPU_Time();
current_wall = MPI_Wtime();