AYON Cpp Api  0.1.0
Loading...
Searching...
No Matches
InstrumentationTimer Class Reference

#include <Instrumentor.h>

Collaboration diagram for InstrumentationTimer:

Public Member Functions

 InstrumentationTimer (const char *name)
 
 ~InstrumentationTimer ()
 
void Stop ()
 

Private Attributes

const char * m_Name
 
std::chrono::time_point< std::chrono::high_resolution_clock > m_StartTimepoint
 
bool m_Stopped
 

Constructor & Destructor Documentation

◆ InstrumentationTimer()

InstrumentationTimer::InstrumentationTimer ( const char *  name)
inline

◆ ~InstrumentationTimer()

InstrumentationTimer::~InstrumentationTimer ( )
inline
Here is the call graph for this function:

Member Function Documentation

◆ Stop()

void InstrumentationTimer::Stop ( )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ m_Name

const char* InstrumentationTimer::m_Name
private

◆ m_StartTimepoint

std::chrono::time_point<std::chrono::high_resolution_clock> InstrumentationTimer::m_StartTimepoint
private

◆ m_Stopped

bool InstrumentationTimer::m_Stopped
private

The documentation for this class was generated from the following file: