Profiling Visual C++ Programs with Quantify Standalone

Related Topics

 

1.    Open the Run Program dialog box.

2.    In the Collect Data From box, select Unmanaged code to profile native-code programs.

Note: If you're profiling a managed Visual C++ programs, select Managed code. For information about profiling managed code programs, click images\shortcut.gif

3.    In Program name, click images\brbut.gif to select the name of the program you want to profile.

4.    In Command-line arguments, enter any arguments required by your program.

5.    Click Settings to specify settings for this and future runs of the program.

6.    Click Run.

§  For unmanaged code, the Instrumenting dialog box appears, showing Quantify's progress as it instruments each module. After instrumentation, Quantify displays the Run Summary window.

§  For .NET managed code, Quantify launches your program and displays the Run Summary window. (Quantify does not show instrumentation progress for managed code).

Notes:

§      To ensure consistent results, instrument and run program code on the same machine.

§      To stop a native-compiled program while it's instrumenting, click Cancel Instrumentation in the Instrumenting dialog box. To stop a program while it's running, select File > Cancel Run or click images\endproc.gif

§      To rerun a program with the same settings, select File > Run Again or click images\runagain.gif

§      If Quantify detects a warning during instrumentation of unmanaged code, it displays the Instrumentation Warning dialog box. To bypass this dialog box and continue instrumenting a program uninterrupted, open the Preferences dialog box and, in the Runs tab, deselect Show instrumentation warnings.

(C) Copyright IBM Corporation 1993, 2009.