sysperfana/perfinvestigator/com.nokia.carbide.cpp.pi.doc.user/html/reference/analyzer/MIPS_counter_graph.htm
changeset 12 ae255c9aa552
equal deleted inserted replaced
11:5b9d4d8641ce 12:ae255c9aa552
       
     1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
       
     2 "http://www.w3.org/TR/html4/loose.dtd">
       
     3 <html>
       
     4 <head>
       
     5   <meta http-equiv="content-type" content="text/html; charset=UTF-8">
       
     6   <title>MIPS Counter and Graph</title>
       
     7   <link href="../../../book.css" rel="stylesheet" type="text/css">
       
     8 </head>
       
     9 
       
    10 <body>
       
    11 <h2>MIPS Counter and Graph</h2>
       
    12 
       
    13 <p>The Million Instructions Per Second (MIPS) graph gives you a general idea of
       
    14 CPU speed in a measured use case. The basic use case for the MIPS analysis
       
    15 would be to check any low areas in the graph since they may reveal unoptimized
       
    16 features, for example, in terms of memory access (reads and writes). The higher
       
    17 the MIPS values, the better and the faster the CPU is in executing
       
    18 instructions.</p>
       
    19 
       
    20 <p>A MIPS (Million Instructions Per Millisecond) graph is displayed in the
       
    21 Performance Counters view, when <b>Instructions executed</b> has been selected
       
    22 as one of the profiled counters. From PI Profiler version 2.2.1. onwards, CPU
       
    23 speed data is included when "Instructions executed" profiled. For files created
       
    24 with earlier PI Profiler versions, the dialog below is displayed during
       
    25 PIAnalyser file import:</p>
       
    26 
       
    27 <p align="center"><img src="images/MIPS_speed_dialog.png"></p>
       
    28 
       
    29 <p class="figure">Figure 1. MIPS Graph Generation</p>
       
    30 
       
    31 <p>The processor speed information is needed for calculating the data for the
       
    32 MIPS graph. The rest of the data for the calculation is always included in the
       
    33 <b>Instructions executed</b> and <b>CPU cycles</b> counters.</p>
       
    34 
       
    35 <p style="text-align:center"><img src="images/PEC_view_MIPS.png"></p>
       
    36 
       
    37 <p>The MIPS counter information is displayed in the graphs view and the legend
       
    38 table together with the other performance counters. Note, however, that for
       
    39 MIPS only <b>Average (1/ms)</b>, <b>Min (1/ms)</b>, and <b>Max (1/ms)</b>
       
    40 information is displayed in the legend table.</p>
       
    41 
       
    42 <p>When the CPU speed data is included in the imported Profiler data file, a
       
    43 CPU clock rate counter and graph are also displayed in the <a
       
    44 href="view_performance_counters.htm">Performance Counters View</a>.</p>
       
    45 
       
    46 <h4>Related references </h4>
       
    47 <ul>
       
    48   <li><a href="view_performance_counters.htm">Performance Counters View</a></li>
       
    49   <li><a href="traceable_events.htm">Traceable Event Types</a></li>
       
    50   <li><a href="../profiler/Prof_counter_settings.htm">PIProfiler Performance
       
    51     Counter Settings</a></li>
       
    52   <li><a href="main_view.htm">Analyzer View</a></li>
       
    53 </ul>
       
    54 
       
    55 <div id="footer">
       
    56 Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies). All rights
       
    57 reserved. <br>
       
    58 License: <a
       
    59 href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a></div>
       
    60 </body>
       
    61 </html>