Share via


Creating a Target Application for Profiling the FLAT Display Driver

The following section introduces a small application, ProfApp, to provide a target for profiling the performance of the FLAT display driver. ProfApp is explicitly designed to stress a single infrequently used, non-optimized color format conversion to support the steps in How to Profile and Optimize a Display Driver. It is not a general application for thoroughly stressing a display driver.

Note A display driver that performs well for an application that uses one set of graphics features may not perform well for an application that uses a different set of graphics features.

Creating a target application for profiling

  1. Create a new empty Windows CE application project for ProfApp. For more information, see Creating a New Project.
  2. From the File menu, choose New Project or File. The New Project or File dialog box appears.
  3. Choose the Files tab and add a new C++ source file named ProfApp.cpp to the ProfApp project.
  4. Cut and paste the source code for ProfApp into the ProfApp.cpp file in the platform. For more information, see Source Code for ProfApp.
  5. From the File menu, choose Close, and then choose Yes when prompted to save the changes.

See Also

How to Profile and Optimize a Display Driver

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.