ryujin 2.1.1 revision ee5cbcbf2346c1299c942d0e1f13b46449973c18
Loading...
Searching...
No Matches
Public Member Functions | List of all members
ryujin::ComputingTimer::Scope Class Reference

#include <source/computing_timer.h>

Public Member Functions

 Scope (const std::string &section)
 
 ~Scope ()
 

Detailed Description

A RAII scope for the timer of the specified section.

The constructor of the class starts a timer with the specified name and the destructor stops the timer again.

Note
This class is a pure timer scope and does not perform any instrumentation. Named compute loops are instrumented individually, see loop.h.
This class does not perform MPI synchronization in contrast to the deal.II counterpart.

Definition at line 47 of file computing_timer.h.

Constructor & Destructor Documentation

◆ Scope()

ryujin::ComputingTimer::Scope::Scope ( const std::string &  section)
inline

Constructor. Starts a timer for the selected section.

Definition at line 53 of file computing_timer.h.

◆ ~Scope()

ryujin::ComputingTimer::Scope::~Scope ( )
inline

Destructor. Stops the timer.

Definition at line 66 of file computing_timer.h.


The documentation for this class was generated from the following file: