30.01.2013 Views

TotalView Users Guide - CI Wiki

TotalView Users Guide - CI Wiki

TotalView Users Guide - CI Wiki

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Figure 127: A Three-<br />

Dimensional Array Sliced<br />

into Two Dimensions<br />

Visualizing Array Data<br />

Viewing Data<br />

Different datasets can require different views to display their data. For<br />

example, a graph is more suitable for displaying one-dimensional datasets<br />

or two-dimensional datasets if one of the dimensions has a small extent.<br />

However, a surface view is better for displaying a two-dimensional dataset.<br />

When <strong>TotalView</strong> launches the Visualizer, one of the following actions<br />

occurs:<br />

� If the Visualizer is displaying the dataset, it raises the dataset’s window<br />

to the top of the desktop. If you had minimized the window, the Visualizer<br />

restores it.<br />

� If you previously visualized a dataset but you’ve killed its window, the<br />

Visualizer creates a new window using the most recent visualization<br />

method.<br />

� If you haven’t visualized the dataset, the Visualizer chooses an appropriate<br />

method. If you don’t want the Visualizer to choose, disable this feature<br />

by using the Options > Auto Visualize command in the Visualizer Directory<br />

Window.<br />

Visualizing Data Manually<br />

Before you can visualize an array, you must:<br />

� Open a Variable Window for the array’s data.<br />

� Stop program execution when the array’s values are set to what you<br />

want them to be when they are visualized.<br />

You can restrict the data being visualized by editing the Slice field. For<br />

example, editing the Slice field limits the amount of data being visualized.<br />

(See “Displaying Array Slices” on page 334.) Limiting the amount of data<br />

increases the speed of the Visualizer.<br />

After selecting the Variable Window Tools > Visualize command, the Visualizer<br />

creates its window. The data sent to the Visualizer isn’t automatically<br />

updated as you step through your program. Instead, you must explicitly<br />

update the display by selecting the Tools > Visualize again.<br />

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

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

Saved successfully!

Ooh no, something went wrong!