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.
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.