PIXReportCounter

Displays a user-defined counter in the PIX UI.

Syntax

void PIXReportCounter(
         const WCHAR *pName,
         float Value
)  

Parameters

pName
Type: WCHAR *

The name to display as a string.

Value
Type: float 

The value to display. This could be a duration, percentage, count or float value. Consider mapping values to the range 0 to 100, as this range is the clearest in the PIX UI.

Return value

None.

Requirements

Header: Declared in pix.h.

Library: Use PIXEvt.lib.

See also

PIX