VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
makVrv::ScopedStatTimer Class Reference

Utility class for timing a scope block. More...

Public Member Functions

 ScopedStatTimer (unsigned int timerIndex, makVrv::DtStatsSet &statsSet)
 CTOR. More...
 
virtual ~ScopedStatTimer ()
 DTOR. More...
 

Protected Attributes

DtTimedSection myTimedSection
 
makVrv::DtStatsSetmyStatsSet
 
unsigned int myIndex
 

Detailed Description

Utility class for timing a scope block.

Starts timing in constructor, and records time elapsed into the stats set when it goes out of scope.

Constructor & Destructor Documentation

makVrv::ScopedStatTimer::ScopedStatTimer ( unsigned int  timerIndex,
makVrv::DtStatsSet statsSet 
)

CTOR.

virtual makVrv::ScopedStatTimer::~ScopedStatTimer ( )
virtual

DTOR.

Member Data Documentation

DtTimedSection makVrv::ScopedStatTimer::myTimedSection
protected
makVrv::DtStatsSet& makVrv::ScopedStatTimer::myStatsSet
protected
unsigned int makVrv::ScopedStatTimer::myIndex
protected

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

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)