Using Sun WorkShop

Collecting Data

To collect performance data:

  1. From the Debugging window, disable runtime checking and choose Windows > Sampling Collector to open the Sampling Collector.

  2. In the Experiment File text box, type the complete path name for the experiment file to be created.

  3. Using the Collect Data radio buttons, select whether you want to collect data for one run only or for all runs.

    If you select for one run only, the Sampling Collector turns off after an experiment is created. If for all runs is selected, the Sampling Collector remains turned on even after the experiment is created.

  4. Load the program into the Debugging window and run it by clicking either Start or Go.