]> https://gitweb.dealii.org/ - dealii.git/commitdiff
remove redundant setw() and setprecision() 6694/head
authorDenis Davydov <davydden@gmail.com>
Wed, 13 Jun 2018 05:55:26 +0000 (07:55 +0200)
committerDenis Davydov <davydden@gmail.com>
Wed, 13 Jun 2018 05:55:26 +0000 (07:55 +0200)
source/base/timer.cc

index 4405aa514189b951349be101f27f744472b2c82e..50e2c3d5df5dd3fb18cce0d562e4548f8175fd01 100644 (file)
@@ -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

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.