Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP/PAK Performance Analysis Tools User's Guide: HP 9000 Series 700/800 Computers > Chapter 2 Using Puma

Examining the Call Tree Textually

» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

In the main Puma window, make sure that a data file is highlighted and then click on Analyze Call Tree (Textual). The Analyze Call Tree (Textual) window appears, as shown in Title not available.

Figure 2-11 The Analyze Call Tree (Textual) Window

The Analyze Call Tree (Textual) Window

Like the Call Tree Analysis (Graphical) window, this window shows how the performance data is distributed among the libraries and procedures in the program. It gives you a variety of choices for displaying the resource metrics that were summarized in the Pan/Zoom window.

If you invoke the Call Tree window from the main Puma window, as this tutorial has done, it displays data for the entire program. You can also invoke it from the Pan/Zoom window to see the data for an "exploded view," or subset of the data samples.

Explore the pulldown menus on the Call Tree window to see the display choices you can make. For example:

  • Report lets you specify whether the next metric you choose should begin a new display or appear as a new column in the current display. Click on Add....

    Table 2-3 The Report Pulldown Menu

    Replace Report
    Add Column to report

     

  • Metric lets you choose the resource metrics to display. The table can display more than one metric at a time. Click on User Cycles to see the display change (Title not available).

    Table 2-4 The Metric Pulldown Menu

    Samples Taken
    Minor Page Faults
    Major Page Faults
    Signals
    Messages Sent
    Messages Received
    Page Swaps
    System Cycles
    User Cycles
    Files Open
    Characters of I/O
    All Metrics

     

  • Granularity lets you choose the degree of aggregation of the data and whether to display source line numbers. Choose Help:Granularity for explanation of the terms used in the Granularity menu.

    Table 2-5 The Granularity Pulldown Menu

    In Routine
    In Routine/Show Source Lines
    In or Under Routine
    In or Under Routine/Show Source Lines
    In Source Line
    In or Under Source Line
    In Library
    In or Under Library

     

Both the Metric and Granularity menus are tear-off menus. When you click on the dashed line at the top of the menu, the menu is displayed in its own window. The menu persists in that window so that you can invoke commands without having to redisplay it. You can also move the menu to a convenient place in your workspace.

Figure 2-12 The Analyze Call Tree (Textual) Window Displaying Two Metrics

The Analyze Call Tree (Textual) Window Displaying Two Metrics

At the bottom of the Call Tree window, there are more features you can use to control the display.

  • Sort lets you arrange the bars

    • alphabetically by routine name, which is useful for finding a particular routine

    • by the frequency of the selected metric, which is useful for showing where resource use is concentrated

    • hierarchically, which is useful for showing the dynamic call structure of the program

  • Hierarchical Sort Options gives you further display choices if you have chosen to sort the routines hierarchically. Choose Help:Sort/Filter for an explanation of these items.

You can save the current display in two ways: by clicking on the Copy Table to New Window button or by choosing the File:Save Table to File pulldown menu entry.

In summary, the differences between analyzing the call tree graphically versus textually are:

  • The graphical display is more immediately intuitive.

  • The textual display can show more than one metric at a time.

  • The graphical display provides source clickback capability.

  • The textual display provides the hierarchical sort option.

Click on File:Close to close the Call Tree window and return to the main Puma window.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© Hewlett-Packard Development Company, L.P.