deallog.depth_console(0);
deallog.threshold_double(1.e-10);
+ {
+
TimerOutput t(logfile, TimerOutput::summary, TimerOutput::cpu_times);
t.enter_subsection("hi");
t.leave_subsection("hi");
-
- t.print_summary();
+ }
+
deallog << "ok" << std::endl;
}
| | | |
| Section | no. calls | CPU time | % of total |
+---------------------------------+-----------+------------+------------+
-| hi | 1 | 0.00s | nan% |
+| hi | 1 | 0.00s | 0.0% |
+---------------------------------+-----------+------------+------------+
DEAL::ok
-
-
-+---------------------------------------------+------------+------------+
-| Total CPU time elapsed since start | 0.00s | |
-| | | |
-| Section | no. calls | CPU time | % of total |
-+---------------------------------+-----------+------------+------------+
-| hi | 1 | 0.00s | nan% |
-+---------------------------------+-----------+------------+------------+
-
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