VR-Forces 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
DtPerformanceMonitorMarker Class Reference

The frame rate profile marker will add samples based no how long this marker is in scope or the stop method is called. The start method is called on constructor.

Public Member Functions

 DtPerformanceMonitorMarker (int context)
 
virtual ~DtPerformanceMonitorMarker ()
 
void start ()
 
void stop ()
 

Protected Attributes

DtTimedSection myPerformanceMarker
 
int myContext
 

Constructor & Destructor Documentation

DtPerformanceMonitorMarker::DtPerformanceMonitorMarker ( int  context)
inline
virtual DtPerformanceMonitorMarker::~DtPerformanceMonitorMarker ( )
inlinevirtual

Member Function Documentation

void DtPerformanceMonitorMarker::start ( )
inline
void DtPerformanceMonitorMarker::stop ( )
inline

Stop will be called from the destructor and will record the sample time in the global frame frame monitor.

References DtPerformanceMonitor::addSample(), and DtPerformanceMonitor::Instance().

Member Data Documentation

DtTimedSection DtPerformanceMonitorMarker::myPerformanceMarker
protected
int DtPerformanceMonitorMarker::myContext
protected

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

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)