From 04b5e289b6644f4c7f6f7661d79a6f4ba84a4d58 Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Wed, 12 Feb 2020 11:45:14 +0100 Subject: [PATCH] Remove one newline at beginning of timer statistics --- source/base/timer.cc | 2 +- tests/base/timer_09.with_mpi=true.mpirun=2.output | 2 -- tests/base/timer_10.with_mpi=true.mpirun=2.output | 2 -- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/source/base/timer.cc b/source/base/timer.cc index 21a9f884ea..b5d9264228 100644 --- a/source/base/timer.cc +++ b/source/base/timer.cc @@ -974,7 +974,7 @@ TimerOutput::print_wall_time_statistics(const MPI_Comm mpi_comm, const std::string time_rank_space = " |"; // now generate a nice table - out_stream << "\n\n" + out_stream << "\n" << "+------------------------------" << extra_dash << "+" << time_rank_column << (n_ranks > 1 && quantile > 0. ? time_rank_column : "") diff --git a/tests/base/timer_09.with_mpi=true.mpirun=2.output b/tests/base/timer_09.with_mpi=true.mpirun=2.output index e3178fe928..889cd4614d 100644 --- a/tests/base/timer_09.with_mpi=true.mpirun=2.output +++ b/tests/base/timer_09.with_mpi=true.mpirun=2.output @@ -1,6 +1,5 @@ DEAL:: - +------------------------------+------------------+------------+------------------+ | Total wallclock time elapsed | s | s | s | | | | | @@ -9,7 +8,6 @@ DEAL:: | hi | | s | s | s | +------------------------------+------------------+------------+------------------+ - +---------------------------------------------------------------------------+------------------+------------+------------------+ | Total wallclock time elapsed | s | s | s | | | | | diff --git a/tests/base/timer_10.with_mpi=true.mpirun=2.output b/tests/base/timer_10.with_mpi=true.mpirun=2.output index 734077240d..7d15e304e0 100644 --- a/tests/base/timer_10.with_mpi=true.mpirun=2.output +++ b/tests/base/timer_10.with_mpi=true.mpirun=2.output @@ -1,6 +1,5 @@ DEAL:: - +------------------------------+------------------+------------------+------------+------------------+------------------+ | Total wallclock time elapsed | s | s | s | s | s | | | | | | | @@ -9,7 +8,6 @@ DEAL:: | hi | | s | s | s | s | s | +------------------------------+------------------+------------------+------------+------------------+------------------+ - +---------------------------------------------------------------------------+------------------+------------------+------------+------------------+------------------+ | Total wallclock time elapsed | s | s | s | s | s | | | | | | | -- 2.39.5