sysperfana/perfinvestigator/com.nokia.carbide.cpp.pi.doc.user/html/reference/analyzer/thread_load.htm
changeset 5 844b047e260d
parent 2 b9ab3b238396
child 12 ae255c9aa552
equal deleted inserted replaced
4:615035072f7e 5:844b047e260d
     1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
     1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
     2 "http://www.w3.org/TR/html4/loose.dtd">
     2 "http://www.w3.org/TR/html4/loose.dtd">
     3 <html>
     3 <html>
     4 <head>
     4 <head>
     5 	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
     5   <meta http-equiv="content-type" content="text/html; charset=UTF-8">
     6 	<title>Thread Load</title>
     6   <title>Thread Load</title>
     7     <link href="../../../book.css" rel="stylesheet" type="text/css">
     7   <link href="../../../book.css" rel="stylesheet" type="text/css">
     8 </head>
     8 </head>
     9 
     9 
    10 <body>
    10 <body>
    11 <h2>Thread Load</h2>
    11 <h2>Thread Load</h2>
    12 <p>Select the Threads tab to display the Thread Load. The Thread Load graph and related table show information about threads that were active during the selected time period. The graph and table show the CPU load separated according to the executed thread, independent of the binary or function in which execution took place. Figure 1 shows an example graph with the Threads tab selected.</p>
    12 
    13 <p align="center"><img src="images/thread_mode_graph.png" width="705" height="659"> </p>
    13 <p>Select the Threads tab to display the Thread Load. The Thread Load graph and
    14 <p align="center" class="figure">Figure 1. Thread Load Graph</p>
    14 related table show information about threads that were active during the
    15 <p>You can check or uncheck items to be displayed in the graph or right-click to display a context menu of various options. The color next to a checkbox corresponds to that item’s color in the graph.</p>
    15 selected time period. The graph and table show the CPU load separated according
       
    16 to the executed thread, independent of the binary or function in which
       
    17 execution took place. Figure 1 shows an example graph with the Threads tab
       
    18 selected.</p>
       
    19 
       
    20 <p align="center"><img src="images/thread_mode_graph.png" width="710"
       
    21 height="728"> </p>
       
    22 
       
    23 <p align="center" class="figure">Figure 1. Thread Load Graph displaying
       
    24 combined CPU graph</p>
       
    25 
    16 <p>Description of table columns:</p>
    26 <p>Description of table columns:</p>
    17 <ul>
    27 <ul>
    18   <li>The <b>% Load</b> column indicates what percentage of the CPU load was spent in each thread during the selected time interval.</li>
    28   <li>The <b>% Load</b> column indicates what percentage of the CPU load was
    19 <li>The <b>Thread</b> column identifies the thread by name and executable which is composed of:
    29     spent in each thread during the selected time interval.</li>
       
    30   <li>The <b>Thread</b> column identifies the thread by name and executable
       
    31     which is composed of: 
    20     <ul>
    32     <ul>
    21       <li>Executable or process  name &#8212; name of the binary as identified by the OS</li>
    33       <li>Executable or process name — name of the binary as identified by
    22       <li>Process ID (PID) &#8212;  the process ID that uniquely identifies the process to the OS </li>
    34         the OS</li>
    23       <li>Thread name  &#8212;the name of the thread</li>
    35       <li>Process ID (PID) — the process ID that uniquely identifies the
    24       <li>Thread ID (TID) &#8212;  the thread ID that uniquely identifies the thread </li>
    36         process to the OS </li>
       
    37       <li>Thread name —the name of the thread</li>
       
    38       <li>Thread ID (TID) — the thread ID that uniquely identifies the thread
       
    39       </li>
    25     </ul>
    40     </ul>
    26 </li>
    41   </li>
    27   <li>The <b>Samples</b> column indicates how many samples were taken during the selected time interval (in this case between 8.16 and 8.5 seconds).</li>
    42   <li>The <b>Samples</b> column indicates how many samples were taken during
    28 <li>If the profiler data file contained thread priority information, then a <b>Priority List</b> column will be shown.  The column lists the time at which a thread was assigned that priority. Sometimes you will see more than one priority listed for each thread.</li>
    43     the selected time interval (in this case between 8.16 and 8.5 seconds).</li>
       
    44   <li>If the profiler data file contained thread priority information, then a
       
    45     <b>Priority List</b> column will be shown. The column lists the time at
       
    46     which a thread was assigned that priority. Sometimes you will see more than
       
    47     one priority listed for each thread.</li>
    29 </ul>
    48 </ul>
    30 <p>Columns may be reordered, resized, and sorted by clicking or dragging column headers.</p>
    49 
    31 <p> The final row of the information section contains summary information about all threads below a threshold, if a threshold limit has been specified. The threshold row is not affected by sorting, it is always the last row.</p>
    50 <p>Columns may be reordered, resized, and sorted by clicking or dragging column
       
    51 headers.</p>
       
    52 
       
    53 <p>The final row of the information section contains summary information about
       
    54 all threads below a threshold, if a threshold limit has been specified. The
       
    55 threshold row is not affected by sorting, it is always the last row.</p>
       
    56 
       
    57 <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
       
    59 corresponds to that item’s color in the graph.</p>
       
    60 
       
    61 <p>For SMP systems with more than one CPU it is also possible to select to</p>
       
    62 <ul>
       
    63   <li><b>Show Combined CPU Graph</b>, that is, to view all CPUs merged into one
       
    64     graph, as in Figure 1, or</li>
       
    65   <li><b>Show Separate CPU Graphs</b>, that is, to view a separate graph and
       
    66     table for each CPU, as in Figure 2.</li>
       
    67 </ul>
       
    68 
       
    69 <p>This is done by using either the context menu, which you can open by
       
    70 right-clicking on the CPU graph; or in the <a
       
    71 href="investigator_menu.htm">Investigator menu</a>'s CPU Load Graphs part.</p>
       
    72 
       
    73 <p align="center"><img src="images/thread_mode_separate_graphs.png" width="712"
       
    74 height="689"> </p>
       
    75 
       
    76 <p align="center" class="figure">Figure 2. Thread Load Graph displaying
       
    77 separate CPU graphs</p>
       
    78 
       
    79 <p>In the separate graphs view, there is also a separate legend table created
       
    80 for each graph. You can choose the table you want to view by using the tabs
       
    81 above the table. </p>
       
    82 
    32 <p><strong>Related references</strong></p>
    83 <p><strong>Related references</strong></p>
    33 <ul>
    84 <ul>
    34   <li><a href="main_view.htm">Analyzer View</a></li>
    85   <li><a href="main_view.htm">Analyzer View</a></li>
    35 <li><a href="../profiler/GPP_trace.htm">Address/Thread Trace</a></li>
    86   <li><a href="investigator_menu.htm">Investigator menu</a></li>
       
    87   <li><a href="../profiler/GPP_trace.htm">Address/Thread Trace</a></li>
    36   <li><a href="binary_load.htm">Binary Load</a></li>
    88   <li><a href="binary_load.htm">Binary Load</a></li>
    37   <li><a href="function_load.htm">Function Load</a></li>
    89   <li><a href="function_load.htm">Function Load</a></li>
    38 <li><a href="function_calls.htm">Function Calls</a></li>
    90   <li><a href="function_calls.htm">Function Calls</a></li>
    39 <li><a href="threshold.htm">Threshold Limits for Traced Data</a></li>
    91   <li><a href="threshold.htm">Threshold Limits for Traced Data</a></li>
    40 </ul>
    92 </ul>
    41 <div id="footer">Copyright &copy; 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. <br>License: <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a></div>
    93 
       
    94 <div id="footer">
       
    95 Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies). All rights
       
    96 reserved. <br>
       
    97 License: <a
       
    98 href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a></div>
    42 </body>
    99 </body>
    43 </html>
   100 </html>