Share via


Enabling Monte Carlo Profiling on Your Platform

Monte Carlo profiling is a statistical technique used to determine which functions are being called on your platform and how often. You can use the results from this technique to find functions that are good candidates for optimization because optimizing the most frequently used functions likely has the greatest overall impact on performance. For more information, see Monte Carlo Profiling.

The following steps describe how to enable Monte Carlo profiling for your platform using the Platform Builder IDE.

To enable Monte Carlo profiling

  1. From the Platform menu, choose Settings. The Platform Settings dialog box appears.

  2. In the Settings For drop-down list, choose the release configuration for the platform's BSP. Verify that the node for your platform, the top node, is highlighted in the tree below the Settings For drop-down list.

  3. Choose the Build Options tab and select the Enable Profiling check box.

    This is sets IMGPROFILER=1 for the platform. For more information, see Instrumented Kernel Profiling and Monte Carlo Profiling.

  4. Choose OK to close the Platform Settings dialog box.

See Also

How to Profile and Optimize a Display Driver

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.