|
Mantid
|
AlgoTimeRegister : simple class to dump information about executed algorithms. More...
#include <AlgoTimeRegister.h>
Classes | |
| class | Dump |
| struct | Info |
Public Member Functions | |
| void | addTime (const std::string &name, const Kernel::time_point_ns &begin, const Kernel::time_point_ns &end) |
| void | addTime (const std::string &name, const std::thread::id thread_id, const Kernel::time_point_ns &begin, const Kernel::time_point_ns &end) |
| AlgoTimeRegister () | |
| ~AlgoTimeRegister () | |
Static Public Attributes | |
| static AlgoTimeRegister | globalAlgoTimeRegister |
Private Attributes | |
| std::vector< Info > | m_info |
| std::mutex | m_mutex |
| Kernel::time_point_ns | m_start |
AlgoTimeRegister : simple class to dump information about executed algorithms.
Definition at line 22 of file AlgoTimeRegister.h.
| Mantid::Instrumentation::AlgoTimeRegister::AlgoTimeRegister | ( | ) |
Definition at line 38 of file AlgoTimeRegister.cpp.
| Mantid::Instrumentation::AlgoTimeRegister::~AlgoTimeRegister | ( | ) |
Definition at line 40 of file AlgoTimeRegister.cpp.
References m_info, m_start, and PARALLEL_GET_MAX_THREADS.
| void Mantid::Instrumentation::AlgoTimeRegister::addTime | ( | const std::string & | name, |
| const Kernel::time_point_ns & | begin, | ||
| const Kernel::time_point_ns & | end | ||
| ) |
Definition at line 33 of file AlgoTimeRegister.cpp.
References addTime().
| void Mantid::Instrumentation::AlgoTimeRegister::addTime | ( | const std::string & | name, |
| const std::thread::id | thread_id, | ||
| const Kernel::time_point_ns & | begin, | ||
| const Kernel::time_point_ns & | end | ||
| ) |
|
static |
Definition at line 24 of file AlgoTimeRegister.h.
|
private |
Definition at line 55 of file AlgoTimeRegister.h.
Referenced by addTime(), and ~AlgoTimeRegister().
|
private |
Definition at line 54 of file AlgoTimeRegister.h.
|
private |
Definition at line 56 of file AlgoTimeRegister.h.
Referenced by ~AlgoTimeRegister().