#include <Timer.h>
|
| std::string | m_name |
| |
| std::ostream & | m_out |
| |
| std::chrono::time_point< std::chrono::system_clock > | m_start |
| |
Definition at line 43 of file Timer.h.
◆ CodeBlockTimer() [1/2]
| Mantid::Kernel::CodeBlockTimer::CodeBlockTimer |
( |
| ) |
|
|
delete |
◆ CodeBlockTimer() [2/2]
| Mantid::Kernel::CodeBlockTimer::CodeBlockTimer |
( |
const std::string & |
name, |
|
|
std::ostream & |
out |
|
) |
| |
Instantiate the object and start the timer.
- Parameters
-
| name | :: custom name of the code block |
| out | :: stream to output the elapsed wall-clock time |
Definition at line 68 of file Timer.cpp.
◆ ~CodeBlockTimer()
| Mantid::Kernel::CodeBlockTimer::~CodeBlockTimer |
( |
| ) |
|
Calculate and output to a stream the elapsed wall-clock time (sec)
Definition at line 73 of file Timer.cpp.
References m_name, m_out, and m_start.
◆ m_name
| std::string Mantid::Kernel::CodeBlockTimer::m_name |
|
private |
◆ m_out
| std::ostream& Mantid::Kernel::CodeBlockTimer::m_out |
|
private |
◆ m_start
| std::chrono::time_point<std::chrono::system_clock> Mantid::Kernel::CodeBlockTimer::m_start |
|
private |
The documentation for this class was generated from the following files: