VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Macros | Variables
performanceMonitor.h File Reference

Go to the source code of this file.

Classes

class  DtPerformanceMonitor
 
class  DtPerformanceMonitorMarker
 

Macros

#define PROFILE_CONTEXT_STRING(Context, Description)   const int the##Context = DtPerformanceMonitor::AddProfileContextString(Context, Description);
 
#define DtVRF_PERFORMANCE_PROFILE(Context)   DtPerformanceMonitorMarker frameRate##Context(Context);
 

Variables

const int SIMULATION_FRAME_RATE = -1
 
const int SIMULATION_FRAME = 1
 
const int BEGIN_FRAME = 2
 
const int ADVANCE_FRAME = 3
 
const int OBJECT_TICK = 4
 
const int APPLICATION_TICK = 5
 
const int NETWORK_TICK = 6
 

Macro Definition Documentation

#define PROFILE_CONTEXT_STRING (   Context,
  Description 
)    const int the##Context = DtPerformanceMonitor::AddProfileContextString(Context, Description);

For VRF specific timers, these are the current section timers and the strings that describe that the section times are for. The identifier is sent over the network. Use the DtProfiler to turn the number into a string.

#define DtVRF_PERFORMANCE_PROFILE (   Context)    DtPerformanceMonitorMarker frameRate##Context(Context);

Variable Documentation

const int SIMULATION_FRAME_RATE = -1
const int SIMULATION_FRAME = 1

The time it takes to tick the DtCgf (running the DtCgf tick() method)

const int BEGIN_FRAME = 2

The time it takes to call beginFrame step.

const int ADVANCE_FRAME = 3

The time it takes to advance the frame of the DtCgf in the advanceFrame section minus the time it takes to advance the network frame.

const int OBJECT_TICK = 4

The time it takes to tick the local object manager.

const int APPLICATION_TICK = 5

The time it takes to tick the cgf and to sleep until the next cgf tick. This is recorded in vrfApp.cxx.

const int NETWORK_TICK = 6

The time it takes to advance the frame of the network thread, which includes publishing of local objects and processing remote objects.


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)