#include <profiler.h>
◆ ScopeProfiler()
◆ ~ScopeProfiler()
| ScopeProfiler::~ScopeProfiler |
( |
| ) |
|
|
inline |
◆ stop()
| void ScopeProfiler::stop |
( |
| ) |
|
|
noexcept |
References Profiler::add(), Profiler::avg(), porting::getTime(), Profiler::graphAdd(), m_name, m_precision, m_profiler, m_time1, m_type, Profiler::max(), SPT_ADD, SPT_AVG, SPT_GRAPH_ADD, and SPT_MAX.
Referenced by ~ScopeProfiler(), and MeshUpdateWorkerThread::doUpdate().
◆ m_name
| std::string ScopeProfiler::m_name |
|
private |
◆ m_precision
◆ m_profiler
| Profiler* ScopeProfiler::m_profiler = nullptr |
|
private |
◆ m_time1
| u64 ScopeProfiler::m_time1 |
|
private |
◆ m_type
The documentation for this class was generated from the following files: