Share via


Remote Call Profiler Instrumented Module Building

Using the compiler that ships with your product, you can insert Remote Call Profiler profiling probes and add Remote Call Profiler data collection control functions to your code. Alternatively, using Platform Builder, you can set an environment variable and then use the Build tool to instrument your module. For more information, see Building an Application That Supports Remote Call Profiler Data Collection.

To compile your code for profiling, you must compile with the /Gh flag for an x86 microprocessor or with the /callcap or /fastcap flag for other microprocessors.

To provide the most accurate profiling data, Microsoft recommends that you set the optimization options that you will use in the release build of your application. In order for Remote Call Profiler to properly resolve function names, you must explicitly set the name of the program database (.pdb) file in the /Fd compile option.

See Also

Remote Call Profiler | Instrumentation Options | Characteristics of FastCAP and CallCAP Probes | Data Collection Control

 Last updated on Friday, October 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.