Export (0) Print
Expand All

Building an Application That Supports Remote Call Profiler Data Collection (Windows CE 5.0)

Windows CE 5.0
Send Feedback

To instrument an application for Remote Call Profiler, you can set an environment variable that specifies the type of profiling probe to insert into the application, and then build the application. You can then use Remote Call Profiler to collect data while the instrumented application runs.

To build an application that supports Remote Call Profiler data collection

  1. Open a command prompt build window.

    In the PB IDE, to open a command prompt build window, from the Build OS menu, choose Open Release Directory.

  2. To instrument the application with CallCAP probes, at the command prompt, type set WINCECALLCAP=1.

    - or -

    To instrument the application with FastCAP probes, at the command prompt, type set WINCEFASTCAP=1.

    Note   FastCAP instrumentation is not supported on x86 microprocessors.

    For information about the characteristics of CallCAP and FastCAP probes, see Characteristics of FastCAP and CallCAP Probes.

  3. At the command prompt, type set WINCEREL=1.

    If you set the WINCEREL environment variable, the Build tool copies the built application to the release directory.

  4. At the command prompt, type set RELEASETYPE=local.

    For information about the RELEASETYPE environment variable, see RELEASETYPE.

  5. Navigate to the directory that contains the sources file for the application that you want to instrument.
  6. At the command prompt, type build -c.

    At the end of the build process, the build window displays a BUILD: Done message, followed by a message that reports the number of files compiled.

    The file name and file name extension of the built application are determined by the values that you specified in the sources file in the directory containing the source code for the application. For more information about sources files, see Sources File.

See Also

Remote Call Profiler Instrumented Module Building | How to Use Remote Call Profiler to Find Performance Problems | Creating a Command Prompt Build Window | Code Profiling

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.

© 2014 Microsoft