 
 
 
 
 
 
| Analyzing Program Performance | 6 |  | 
 
 
 
 
 
 
 Performance Profiling in WorkShop
The Behavior Data Collector, available from the WorkShop Debugging window, gathers performance data during the execution of an application and saves it to an experiment file. The Analyzer, a separate window available from the WorkShop main window, displays collected performance data and, if paging is causing a bottleneck, can create a file to instruct the linker to remap functions in memory.
Figure  6-1	 Performance-Tuning Architecture
 
 
 
 Collecting Performance Data
The Behavior Data Collector gathers performance data about a program as it runs through the Debugging window. To view the results of the experiment file you collect, you must use the Analyzer window, which is available separately through the WorkShop main window or can be displayed by choosing Collect  Analyze from the Collector.
  Analyze from the Collector.  Types of Data You Can Collect
You can collect three types of data: 
You can specify the frequency of sample collection by moving the Collect Profile data slider to the desired number of samples per second. Both data accuracy and collection overhead increase as the number of samples collected per second increases.
 New Window in an Analyzer window, you can open a new Analyzer window to compare two samples or view the same set of samples in two different ways.
  New Window in an Analyzer window, you can open a new Analyzer window to compare two samples or view the same set of samples in two different ways.
 Print or Experiment
  Print or Experiment  Print Summary in the Analyzer window and typing the appropriate information in the dialog box.
  Print Summary in the Analyzer window and typing the appropriate information in the dialog box.
 Export in the Analyzer window and typing the name and directory of the experiment file to be exported in the Export dialog box.
  Export in the Analyzer window and typing the name and directory of the experiment file to be exported in the Export dialog box. 
 
 
 
 
 
