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.

STACK FRAME: Whenever your program calls a function, it creates a set of<br />

information that includes the local variables, arguments, contents of the<br />

registers used by an individual routine, a frame pointer pointing to the previous<br />

stack frame, and the value of the program counter (PC) at the time<br />

the routine was called. The information for one function is called a “stack<br />

frame” as it is placed on your program’s stack.<br />

When your program begins executing, it has only one frame: the one allocated<br />

for function main(). As your program calls functions, new frames are<br />

allocated. When a function returns to the function from which it is called,<br />

the frame is deallocated.<br />

STACK POINTER: A pointer to the area of memory where subprocedure arguments,<br />

return addresses, and similar information is stored. This is also<br />

called a frame pointer.<br />

STACK TRACE: A sequential list of each currently active routine called by a<br />

program, and the frame pointer that points to its stack frame.<br />

STATIC (SYMBOL) SCOPE: A region of a program’s source code that has a set<br />

of symbols associated with it. A scope can be nested inside another scope.<br />

STEPPING: Advancing program execution by fixed increments, such as by<br />

source code statements.<br />

STL: An acronym for Standard Template Library.<br />

STOP SET: A set of threads that <strong>TotalView</strong> stops after an action point<br />

triggers.<br />

STOPPED/HELD STATE: The state of a process whose execution has paused<br />

in such a way that another program event (for example, arrival of other<br />

threads at the same barrier) is required before it is capable of continuing<br />

execution.<br />

STOPPED/RUNNABLE STATE: The state of a process whose execution has<br />

been paused (for example, when a breakpoint triggered or due to some<br />

user command) but can continue executing as soon as a resume command<br />

is issued.<br />

STOPPED STATE: The state of a process that is no longer executing, but will<br />

eventually execute again. This is subdivided into stopped/runnable and<br />

stopped/held.<br />

STRIDE: The interval between array elements in a slice and the order in<br />

which <strong>TotalView</strong> displays these elements. If the stride is 1, <strong>TotalView</strong> displays<br />

every element between the lower bound and upper bound of the<br />

slice. If the stride is 2, <strong>TotalView</strong> displays every other element. If the stride<br />

is –1, <strong>TotalView</strong> displays every element between the upper bound and lower<br />

bound (reverse order).<br />

SYMBOL: Entities within program state, machine state, or debugger state.<br />

SYMBOL LOOKUP: Process whereby <strong>TotalView</strong> consults its debugging information<br />

to discover what entity a symbol name refers to. Search starts with<br />

a particular static scope and occurs recursively so that contains scopes are<br />

searched in an outward progression.<br />

408 Glossary

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

Saved successfully!

Ooh no, something went wrong!