User Guide

  • 2020
  • 06/18/2020
  • Public Content
Contents

loop-mode

Show or hide loops in the stack.

Syntax

loop-mode=
<value>
Arguments
loop-only
Display loops as regular nodes in the tree. Loop name consists of:
  • start address of the loop
  • number of the code line where this loop is created
  • name of the function where this loop is created
loop-and-function
Display both loops and functions as separate nodes.
function-only
Display data by function with no loop information (default mode).
Default
function-only
vtune
reports show no loop data.
Actions Modified
Description
Use the
loop-mode
option when performing data collection, finalization or importation, to set loop view for the result or report. You can also use this option with the
report
action to override the project-level setting for viewing a hierarchy of the loops in your application call tree.
This command displays the data collected during the Hotspots analysis in the callstack report that is filtered to show loops only:
vtune
-R callstacks -loop-mode=loop-only
Function Function Stack Module CPU Time:Self -------------------------------------- -------------------------------------- ------------ ------------ [Outside any loop] [Unknown] 0.009 [Loop@0x7dea03b7 in func@0x7dea0392] ntdll.dll 0.002 [Loop@0x7dea03a6 in func@0x7dea0392] ntdll.dll 0.002 [Outside any loop] [Unknown] 0 [Loop@0x1400147f0 in func@0x140014782] mfeapfk.sys 0.001 [Outside any loop] [Unknown] 0.001 [Loop@0x14001a111 in func@0x14001a0c0] mfeapfk.sys 0.001 [Loop@0x14001a100 in func@0x14001a0c0] mfeapfk.sys 0.001 [Outside any loop] [Unknown] 0 [Loop@0x1402d0329 in func@0x1402d02af] ntoskrnl.exe 0.001 [Outside any loop] [Unknown] 0.001

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804