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: