Displays the time elapsed between the call to the constructor and the destructor.
More...
#include <arcane/core/Timer.h>
Displays the time elapsed between the call to the constructor and the destructor.
This class allows simply displaying, at the time of the destructor, the real time elapsed since the call to the constructor. The display is done via the info() method of ITraceMng.
{
myFunction();
}
Displays the time elapsed between the call to the constructor and the destructor.
Definition at line 174 of file Timer.h.
◆ SimplePrinter() [1/2]
| Arcane::Timer::SimplePrinter::SimplePrinter |
( |
ITraceMng * | tm, |
|
|
const String & | msg ) |
◆ SimplePrinter() [2/2]
| Arcane::Timer::SimplePrinter::SimplePrinter |
( |
ITraceMng * | tm, |
|
|
const String & | msg, |
|
|
bool | is_active ) |
◆ ~SimplePrinter()
| Arcane::Timer::SimplePrinter::~SimplePrinter |
( |
| ) |
|
◆ _init()
| void Arcane::Timer::SimplePrinter::_init |
( |
| ) |
|
|
private |
◆ m_begin_time
| Real Arcane::Timer::SimplePrinter::m_begin_time |
|
private |
◆ m_is_active
| bool Arcane::Timer::SimplePrinter::m_is_active |
|
private |
◆ m_message
| String Arcane::Timer::SimplePrinter::m_message |
|
private |
◆ m_trace_mng
| ITraceMng* Arcane::Timer::SimplePrinter::m_trace_mng |
|
private |
The documentation for this class was generated from the following files: