File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -30,8 +30,15 @@ namespace aspect
30
30
std::pair<std::string,std::string>
31
31
TimingStatistics<dim>::execute (TableHandler &statistics)
32
32
{
33
- const auto &timer = this ->get_computing_timer ();
33
+ auto &timer = this ->get_computing_timer ();
34
+
35
+ // The timer only allows access to its data outside of subsections
36
+ // Leaving and entering the subsection again here means there will be
37
+ // one additional call of this subsection per time step in the timing
38
+ // output.
39
+ timer.leave_subsection (" Postprocessing" );
34
40
const std::map<std::string, double > &timing_map = timer.get_summary_data (TimerOutput::total_wall_time);
41
+ timer.enter_subsection (" Postprocessing" );
35
42
36
43
for (const auto §ion: timing_map)
37
44
{
You can’t perform that action at this time.
0 commit comments