When you invoke the Analyzer with a target name and target arguments, it starts up with the Performance Tools Collect window open, which allows you to record an experiment on the named target. If you invoke the Analyzer with no arguments, or with an experiment list, you can record a new experiment by choosing File -> Collect Experiment to open the Performance Tools Collect window
The Collect Experiment tab of the Performance Tools Collect window has a panel you use to specify the target, its arguments, and the various parameters to be used to run the experiment. They correspond to the options available in the collect command, as described in Chapter 3, Collecting Performance Data.
Immediately below the panel is a Preview Command button, and a text field. When you click the button, the text field is filled in with the collect command that would be used when you click the Run button.
In the Data to Collect tab, you can select the types of data you want to collect.
The Input/Output tab has two panels: one that receives output from the Collector itself, and a second for output from the process.
A set of buttons allows the following operations:
Run the experiment
Terminate the run
Send Pause, Resume, and Sample signals to the process during the run (enabled if the corresponding signals are specified),
Close the window.
If you close the window while an experiment is in progress, the experiment continues. If you reopen the window, it shows the experiment in progress, as if it had been left open during the run. If you attempt to exit the Analyzer while an experiment is in progress, a dialog box is posted asking whether you want the run terminated or allowed to continue.