#include <Instrumentor.h>
◆ Instrumentor()
| Muto::Instrumentor::Instrumentor |
( |
| ) |
|
|
inline |
55 {
56 }
InstrumentationSession * m_CurrentSession
Definition Instrumentor.h:49
References m_CurrentSession.
◆ BeginSession()
| void Muto::Instrumentor::BeginSession |
( |
const std::string & |
name, |
|
|
const std::string & |
filepath = "results.json" |
|
) |
| |
|
inline |
59 {
62
64 {
66 }
68 }
73 }
74 else {
76 {
78 }
79 }
82 }
#define MU_CORE_ERROR(...)
error: indicates an error that has occurred
Definition Log.h:42
std::ofstream m_OutputStream
Definition Instrumentor.h:50
void WriteHeader()
Definition Instrumentor.h:115
std::mutex m_Mutex
Definition Instrumentor.h:51
void InternalEndSession()
Definition Instrumentor.h:127
static std::shared_ptr< spdlog::logger > & GetCoreLogger()
Returns the core logger instance.
Definition Log.h:24
std::string Name
Definition Instrumentor.h:43
constexpr Scope< T > CreateScope(Args &&... args)
Creates a Scope (unique_ptr) for the given type and constructor arguments.
Definition Defines_Macros.h:51
References InternalEndSession(), m_CurrentSession, Muto::InstrumentationSession::Name, and WriteHeader().
◆ EndSession()
| void Muto::Instrumentor::EndSession |
( |
| ) |
|
|
inline |
◆ Get()
◆ InternalEndSession()
| void Muto::Instrumentor::InternalEndSession |
( |
| ) |
|
|
inline |
◆ WriteFooter()
| void Muto::Instrumentor::WriteFooter |
( |
| ) |
|
|
inline |
◆ WriteHeader()
| void Muto::Instrumentor::WriteHeader |
( |
| ) |
|
|
inline |
◆ WriteProfile()
◆ m_CurrentSession
◆ m_Mutex
| std::mutex Muto::Instrumentor::m_Mutex |
|
private |
◆ m_OutputStream
| std::ofstream Muto::Instrumentor::m_OutputStream |
|
private |
The documentation for this class was generated from the following file: