VR-Forces 5.0.1 Developer's Guide
 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.

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

Public Member Functions

 ScopedStatTimer (unsigned int timerIndex, makVrv::DtStatsSet &statsSet)
 
virtual ~ScopedStatTimer ()
 

Protected Attributes

DtTimedSection myTimedSection
 
makVrv::DtStatsSetmyStatsSet
 
unsigned int myIndex
 

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 Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)