#include <deal.II/base/timer.h>
Helper class to enter/exit sections in TimerOutput be constructing a simple scope-based object. The purpose of this class is explained in the documentation of TimerOutput.
Definition at line 396 of file timer.h.
§ Scope()
| TimerOutput::Scope::Scope |
( |
::TimerOutput & |
timer_, |
|
|
const std::string & |
section_name |
|
) |
| |
|
inline |
Enter the given section in the timer. Exit automatically when calling stop() or destructor runs.
Definition at line 723 of file timer.h.
§ ~Scope()
| TimerOutput::Scope::~Scope |
( |
| ) |
|
|
inline |
§ stop()
| void TimerOutput::Scope::stop |
( |
| ) |
|
|
inline |
In case you want to exit the scope before the destructor is executed, call this function.
Definition at line 738 of file timer.h.
§ timer
§ in
| bool TimerOutput::Scope::in |
|
private |
Do we still need to exit the section we are in?
Definition at line 424 of file timer.h.
The documentation for this class was generated from the following file: