VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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.
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 Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)