git-svn-id: https://svn.dealii.org/branches/releases/Branch-8-1@31990
0785d39b-7218-0410-832d-
ea1e28bc413d
deallog.threshold_double(1.e-1);
{
-
- TimerOutput t(logfile, TimerOutput::summary, TimerOutput::cpu_times);
+
+ // use std::cout so that no output is saved to the logfile, because it
+ // is difficult to test (timing)
+ TimerOutput t(std::cout, TimerOutput::summary, TimerOutput::cpu_times);
t.enter_subsection("hi");
t.leave_subsection("hi");
-
-
-+---------------------------------------------+------------+------------+
-| Total CPU time elapsed since start | 0.00s | |
-| | | |
-| Section | no. calls | CPU time | % of total |
-+---------------------------------+-----------+------------+------------+
-| hi | 1 | 0.00s | 0.0% |
-+---------------------------------+-----------+------------+------------+
-
DEAL::ok
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