VR-Forces 4.1.1 Class Documentation
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.
virtual ~ScopedStatTimer ()
 DTOR.

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 Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)