#include <profiler.h>
Collaboration diagram for ScopeProfiler:Public Member Functions | |
| ScopeProfiler (Profiler *profiler, const std::string &name, ScopeProfilerType type=SPT_ADD, TimePrecision precision=PRECISION_MILLI) | |
| ~ScopeProfiler () | |
Private Attributes | |
| Profiler * | m_profiler = nullptr |
| std::string | m_name |
| u64 | m_time1 |
| ScopeProfilerType | m_type |
| TimePrecision | m_precision |
| ScopeProfiler::ScopeProfiler | ( | Profiler * | profiler, |
| const std::string & | name, | ||
| ScopeProfilerType | type = SPT_ADD, | ||
| TimePrecision | precision = PRECISION_MILLI ) |
References porting::getTime(), m_name, m_time1, and TimePrecision_units.
Here is the call graph for this function:| ScopeProfiler::~ScopeProfiler | ( | ) |
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.
Here is the call graph for this function:
|
private |
Referenced by ScopeProfiler(), and ~ScopeProfiler().
|
private |
Referenced by ~ScopeProfiler().
|
private |
Referenced by ~ScopeProfiler().
|
private |
Referenced by ScopeProfiler(), and ~ScopeProfiler().
|
private |
Referenced by ~ScopeProfiler().