From d8bd8be0bf29609d93401c5403dcd271aa4a90b9 Mon Sep 17 00:00:00 2001 From: Denis Davydov Date: Wed, 13 Jun 2018 07:55:26 +0200 Subject: [PATCH] remove redundant setw() and setprecision() --- source/base/timer.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/base/timer.cc b/source/base/timer.cc index 4405aa5141..50e2c3d5df 100644 --- a/source/base/timer.cc +++ b/source/base/timer.cc @@ -745,14 +745,13 @@ TimerOutput::print_summary() const << "| Total CPU/wall time elapsed since start " << extra_space << "|" << std::setw(10) << std::setprecision(3) << std::right << total_cpu_time << "s | |" - << std::setw(10) << std::setprecision(3) << std::right << total_wall_time << "s | |" << "\n| " << extra_space << "|" << " | |" << " | |" << "\n| Section " << extra_space - << "| no. calls |" << std::setw(10) << std::setprecision(3) + << "| no. calls |" << " CPU time | % of total |" << " wall time | % of total |" << "\n+---------------------------------" << extra_dash -- 2.39.5