/**
* Same as @p enter_subsection.
+ *
+ * @deprecated Use enter_subsection() instead.
*/
- void
+ DEAL_II_DEPRECATED void
enter_section(const std::string §ion_name);
- // TODO: make some of these functions DEPRECATED (I would keep
- // enter/exit_section)
-
/**
* Leave a section. If no name is given, the last section that was entered
* is left.
/**
* Same as @p leave_subsection.
+ *
+ * @deprecated Use leave_subsection() instead.
*/
- void
+ DEAL_II_DEPRECATED void
exit_section(const std::string §ion_name = "");
/**
Timer t1, t2;
TimerOutput tO(std::cout, TimerOutput::summary, TimerOutput::cpu_times);
- tO.enter_section("Section1");
- tO.enter_section("Section2");
+ tO.enter_subsection("Section1");
+ tO.enter_subsection("Section2");
burn(50);
- tO.exit_section("Section2");
- tO.enter_section("Section2");
+ tO.leave_subsection("Section2");
+ tO.enter_subsection("Section2");
burn(50);
- tO.exit_section("Section2");
- tO.exit_section("Section1");
+ tO.leave_subsection("Section2");
+ tO.leave_subsection("Section1");
std::map<std::string, double> cpu_times =
tO.get_summary_data(TimerOutput::OutputData::total_cpu_time);