OmegaEngine API  1.0.3
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
Static Public Member Functions | Static Package Functions | Static Package Attributes | Properties | List of all members
OmegaEngine.Profiler Class Reference

Helper class with static functions to signal the beginnings and endings of performance profiling events. In Debug builds events are also passed to PIX. More...

Static Public Member Functions

static void AddEvent (string name)
 Adds a non-timed profiler event. More...
 

Static Package Functions

static void BeginEvent (string name)
 Notifies PIX about the start of an event. More...
 
static void EndEvent ()
 Notifies PIX about the end of an event. More...
 
static void SetMarker (string name)
 Notifies PIX about an untimed event. More...
 

Static Package Attributes

static XmlNode CurrentXmlNode
 The current XML node we are writing into. This controls the nesting of events. More...
 

Properties

static Query DeviceQuery [get, set]
 The current D3D device query to use for controlling the command buffer. More...
 
static XmlDocument LogXml [get, set]
 The XML DOM to store the log data in. More...
 

Detailed Description

Helper class with static functions to signal the beginnings and endings of performance profiling events. In Debug builds events are also passed to PIX.

Member Function Documentation

static void OmegaEngine.Profiler.AddEvent ( string  name)
inlinestatic

Adds a non-timed profiler event.

Parameters
nameTe name of the event.
static void OmegaEngine.Profiler.BeginEvent ( string  name)
inlinestaticpackage

Notifies PIX about the start of an event.

static void OmegaEngine.Profiler.EndEvent ( )
inlinestaticpackage

Notifies PIX about the end of an event.

static void OmegaEngine.Profiler.SetMarker ( string  name)
inlinestaticpackage

Notifies PIX about an untimed event.

Member Data Documentation

XmlNode OmegaEngine.Profiler.CurrentXmlNode
staticpackage

The current XML node we are writing into. This controls the nesting of events.

Property Documentation

Query OmegaEngine.Profiler.DeviceQuery
staticgetset

The current D3D device query to use for controlling the command buffer.

XmlDocument OmegaEngine.Profiler.LogXml
staticgetsetpackage

The XML DOM to store the log data in.


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