SLProject 4.0.000
InstrumentationTimer Class Reference

#include <Instrumentor.h>

Public Member Functions

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

Private Attributes

const char * _name
 function or scope name as char pointer (not std::string) More...
 
HighResTimePoint _startTimepoint
 start timepoint More...
 
bool _isStopped
 flag if timer got stopped More...
 

Constructor & Destructor Documentation

◆ InstrumentationTimer()

InstrumentationTimer::InstrumentationTimer ( const char *  name)
inline

◆ ~InstrumentationTimer()

InstrumentationTimer::~InstrumentationTimer ( )
inline

Member Function Documentation

◆ stop()

void InstrumentationTimer::stop ( )
inline

Member Data Documentation

◆ _isStopped

bool InstrumentationTimer::_isStopped
private

flag if timer got stopped

◆ _name

const char* InstrumentationTimer::_name
private

function or scope name as char pointer (not std::string)

◆ _startTimepoint

HighResTimePoint InstrumentationTimer::_startTimepoint
private

start timepoint


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