Enabling Monte Carlo Profiling of a Configuration (Windows CE 5.0)

Send Feedback

Monte Carlo profiling is a statistical technique used to determine which functions are being called on your run-time image 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 run-time image 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 Configuration drop-down list, choose the release configuration for the hardware platform.

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

    This is sets IMGPROFILER=1 for the OS design. 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

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.