30.01.2013 Views

TotalView Users Guide - CI Wiki

TotalView Users Guide - CI Wiki

TotalView Users Guide - CI Wiki

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Figure 188: Displaying C<br />

Structures and Arrays<br />

Diving in Variable Windows<br />

As the array manipulation commands (described in Chapter 8) generally work on<br />

what’s displayed and not what is stored in memory, <strong>TotalView</strong> commands that refine<br />

and display array information work on this virtual array. For example, you can visualize<br />

the array, obtain statistics about it, filter elements in it, and so on.<br />

Figure 189 on page 302 is a high-level look at what a dive in all operation<br />

does.<br />

In this figure, the rounded rectangle represents a Variable Window. On the<br />

left is an array of five structures. After you select the Dive in All command<br />

with element a selected, <strong>TotalView</strong> replaces the contents of your Variable<br />

Window with an array that contains all of these a elements.<br />

Changing What the Variable Window Displays<br />

When <strong>TotalView</strong> displays a Variable Window, the Expression field contains<br />

either a variable or an expression. Technically, a variable is also an expression.<br />

For example, my_var.an_element is actually an addressing expression.<br />

<strong>TotalView</strong> <strong>Users</strong> <strong>Guide</strong>: version 8.7 301

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!