PerfMarkerInterface Class Reference

PerfMarkerInterface Class Reference

#include <perfmarkerinterface.h>

Class Description

Implementation of IPerfMarkerInterface that uses snTuner and PIX.

+ Examples:

Inherits Kaim::IPerfMarkerInterface.

Public Member Functions

virtual void Begin (const char *name)
 
virtual void End ()
 

Static Public Member Functions

static void BeginMarker (const char *name)
 
static void EndMarker ()
 
static IPerfMarkerInterface *& Instance ()
 

Member Function Documentation

void PerfMarkerInterface::Begin ( const char *  name)
virtual

Called by instrumented code to indicate that a tracked block of code has begun.

You can implement this method in order to respond to the start of each performance marker instrumented in the Gameware Navigation code, and each marker that you begin using the KY_PERF_MARKER_BEGIN macro.

Parameters
nameA descriptive name for this marker.

Implements Kaim::IPerfMarkerInterface.

static void Kaim::IPerfMarkerInterface::BeginMarker ( const char *  name)
inlinestaticinherited

Indicates to the IPerfMarkerInterface that a block of code has begun that it should track.

Transparently calls your implementation of IPerfMarkerInterface::Begin().

Parameters
nameA descriptive name for this marker.
void PerfMarkerInterface::End ( )
virtual

Called by instrumented code to indicate that the currently tracked block of code has been completed.

You can implement this method in order to respond to the end of each performance marker instrumented in the Gameware Navigation code, and each marker that you end using the KY_PERF_MARKER_END macro.

Implements Kaim::IPerfMarkerInterface.

static void Kaim::IPerfMarkerInterface::EndMarker ( )
inlinestaticinherited

Indicates to the IPerfMarkerInterface that the currently tracked block of code has been completed.

Transparently calls your implementation of IPerfMarkerInterface::End().

static IPerfMarkerInterface*& Kaim::IPerfMarkerInterface::Instance ( )
inlinestaticinherited

Retrieves the static instance of the IPerfMarkerInterface class managed by the BaseSystem.


The documentation for this class was generated from the following files:
  • integration/gwnavruntimeglue/perfmarkerinterface/perfmarkerinterface.h
  • integration/gwnavruntimeglue/perfmarkerinterface/perfmarkerinterface.cpp