Profiling .NET Managed Code from the Command Line

Related Topics

You can run .NET managed code programs from the command line as follows:

quantify [<Quantify options>] /net <exename or modulename> [<arguments to exename>]

Where

Represents

[<Quantify options>]

Options you can specify after the quantify command. For a list of options, click images\shortcut.gif

/net

Required for .NET and managed Visual C++ programs.

<exename or modulename>

The program or module you want to instrument and run.

Note: If you specify a module other than an executable, Quantify instruments the module but does not run it.

[<arguments to exename>]

Arguments to pass to the program.

For example, you can type:

quantify /net /SaveData myapp.exe arg1 arg2

Quantify runs Myapp.exe with the specified arguments, arg1 and arg2, and saves the performance data to a Quantify data file (.qfy) without displaying any data analysis windows.

Note:

§      To run programs from the command line, you must have the Rational/common directory in your PATH environment variable.

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

(C) Copyright IBM Corporation 1993, 2009.