Main Page   Modules   Alphabetical List   Data Structures   Data Fields  

RwMetrics Struct Reference
[RwEngine]


Data Fields

RwUInt32 numTriangles
RwUInt32 numProcTriangles
RwUInt32 numVertices
RwUInt32 numTextureUploads
RwUInt32 sizeTextureUploads
RwUInt32 numResourceAllocs
void * devSpecificMetrics

Detailed Description

This structure provides information about the performance of the application. The metrics are recorded only in the metrics libraries. To use metrics, you should compile with the RWMETRICS preprocessor symbol defines, and link with the metrics libraries that ship with the SDK. The metrics are recorded on a per-frame basis. Each platform may provide additional information that is specific to that platform. Note that either the numTextureUploads or numResourceAllocs being non-zero can be considered as bad news and will indicate a significantly reduced rendering performance.


Field Documentation

void* devSpecificMetrics
 

Device specific metrics.

RwUInt32 numProcTriangles
 

The number of mesh triangles processed.

RwUInt32 numResourceAllocs
 

The number of resource blocks swapped.

RwUInt32 numTextureUploads
 

The number of times RwD3D9SetTexture is called.

RwUInt32 numTriangles
 

The number of triangles processed.

RwUInt32 numVertices
 

The number of vertices processed.

RwUInt32 sizeTextureUploads
 

The size of the textures, in bytes, that have been passed to RwD3D9SetTexture.


Criterion Software © 1993-2004 Criterion Software Limited. All rights reserved. Built Thu Feb 12 13:46:48 2004. Send Feedback