Making the Call Stack Pane Work for You



VTune™ Amplifier XE Call Stack Pane

The call stack pane is displayed in viewpoints of analysis types that include stack data. It is displayed on the right side of the viewpoint (highlighted below in a gold box).

call stack pane highlighted in viewpoint

The call stack pane identifies the calling sequences to the selected function, in order of contribution to the total time for the selected function.  Call stacks from different threads are aggregated together, showing all the call stacks for a function, without providing information on what threads were calling.  See the product documentation for more details.

Some users have found that the call stack pane is difficult to read and decipher.  The VTune™ Amplifier XE supports configuring the data that is included in the call stack pane via a context menu.  By default, the binary filename, function name, byte offset to the call site within the function, source filename and line number are displayed (when available).  For example,

call stack pane with all info

The context menu allows the user to exclude some or all of this information and to change the formatting.

call stack pane context menu

Unchecking "Show Modules" and excluding modules, or binary filenames, results in the following display:

call stack pane no module

By default, the call stack pane attempts to display all information on one line ("One-line Mode").  Turning off this option, results in the information being displayed on two lines, as in the following display:

call stack pane two line mode

The display looks like the following, when excluding the source filename and line number:

call stack pane no src file line number 2

Finally, removing the binary filename (e.g., "module") and source filename and line number, results in a call stack pane display with only the function name and offset to the call site.

call stack pane no src or line number

Additionally, the context menu provides a mechanism for copying the calling sequencing to the clipboard for pasting into other applications.  Here is an explain of data copied to the clipboard:

clipboard small

So, depending on your preference for viewing call stack information, you can configure the call stack pane to suit your needs.


Para obter informações mais completas sobre otimizações do compilador, consulte nosso aviso de otimização.