VR-Forces 4.6.1 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.
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 Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)