sysperfana/perfinvestigator/com.nokia.carbide.cpp.pi.doc.user/html/reference/analyzer/thread_load.htm
changeset 12 ae255c9aa552
parent 5 844b047e260d
equal deleted inserted replaced
11:5b9d4d8641ce 12:ae255c9aa552
     8 </head>
     8 </head>
     9 
     9 
    10 <body>
    10 <body>
    11 <h2>Thread Load</h2>
    11 <h2>Thread Load</h2>
    12 
    12 
    13 <p>Select the Threads tab to display the Thread Load. The Thread Load graph and
    13 <p>Select the Threads tab to display the Thread Load. The thread load data in
    14 related table show information about threads that were active during the
    14 the main analysis view is built from the address/thread trace. The Thread Load
    15 selected time period. The graph and table show the CPU load separated according
    15 graph and related table show information about threads that were active during
    16 to the executed thread, independent of the binary or function in which
    16 the selected time period. The graph and table show the CPU load separated
    17 execution took place. Figure 1 shows an example graph with the Threads tab
    17 according to the executed thread, independent of the binary or function in
    18 selected.</p>
    18 which execution took place. Figure 1 shows an example graph with the Threads
       
    19 tab selected.</p>
       
    20 
       
    21 <p>The address/thread trace graph is the most generic and perhaps most
       
    22 informative visual of the sampled data. The different colors represent
       
    23 different items. Time is represented on the horizontal axis of the graph and
       
    24 share of CPU use is represented on the vertical axis.</p>
       
    25 
       
    26 <p></p>
    19 
    27 
    20 <p align="center"><img src="images/thread_mode_graph.png" width="710"
    28 <p align="center"><img src="images/thread_mode_graph.png" width="710"
    21 height="728"> </p>
    29 height="728"> </p>
    22 
    30 
    23 <p align="center" class="figure">Figure 1. Thread Load Graph displaying
    31 <p align="center" class="figure">Figure 1. Thread Load Graph displaying
    24 combined CPU graph</p>
    32 combined CPU graph</p>
       
    33 
       
    34 <p>Each of the lines in the thread table represents a single thread. The color
       
    35 codes in the thread list correspond to the colors in the thread load graphs.
       
    36 Therefore, each color in the thread load graph represents the load of its
       
    37 corresponding thread.</p>
    25 
    38 
    26 <p>Description of table columns:</p>
    39 <p>Description of table columns:</p>
    27 <ul>
    40 <ul>
    28   <li>The <b>% Load</b> column indicates what percentage of the CPU load was
    41   <li>The <b>% Load</b> column indicates what percentage of the CPU load was
    29     spent in each thread during the selected time interval.</li>
    42     spent in each thread during the selected time interval.</li>
    55 threshold row is not affected by sorting, it is always the last row.</p>
    68 threshold row is not affected by sorting, it is always the last row.</p>
    56 
    69 
    57 <p>You can check or uncheck items to be displayed in the graph or right-click
    70 <p>You can check or uncheck items to be displayed in the graph or right-click
    58 to display a context menu of various options. The color next to a checkbox
    71 to display a context menu of various options. The color next to a checkbox
    59 corresponds to that item’s color in the graph.</p>
    72 corresponds to that item’s color in the graph.</p>
       
    73 
       
    74 <h4>Scaling the Graph and Table According to CPU Clock Speed</h4>
       
    75 
       
    76 <p>When CPU clock rate counter is included in the sampled Performance Counter
       
    77 data, there is a <strong>Scale to CPU Clock Speed</strong> option available in
       
    78 the graph context menu. When the option is selected, both the graph and the
       
    79 <strong>% Load</strong> column of the legend table are scaled according to the
       
    80 CPU clock speed. </p>
       
    81 
       
    82 <h3>CPU Thread Load graphs in SMP systems</h3>
    60 
    83 
    61 <p>For SMP systems with more than one CPU it is also possible to select to</p>
    84 <p>For SMP systems with more than one CPU it is also possible to select to</p>
    62 <ul>
    85 <ul>
    63   <li><b>Show Combined CPU Graph</b>, that is, to view all CPUs merged into one
    86   <li><b>Show Combined CPU Graph</b>, that is, to view all CPUs merged into one
    64     graph, as in Figure 1, or</li>
    87     graph, as in Figure 1, or</li>