📄 st20si14.htm
字号:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta name="GENERATOR" content="Quadralay WebWorks Publisher Professional Edition 6.0.5">
<meta name="TEMPLATEBASE" content="book_html">
<meta name="LASTUPDATED" content="12/04/03 16:05:21">
<title>8.5 Generating statistics</title>
<STYLE TYPE="text/css">
<!--
span.Signal { text-transform: uppercase; font-family: Verdana }
-->
</STYLE>
</head>
<body link="#3366CC" vlink="#9999CC" text="#000000" alink="#0000CC" bgcolor="#FFFFFF"
background="images/backgrnd.gif">
<p><img src="images/stlogo.gif" width="106" height="83" align="left"
alt="logo here!"> </p>
<table width="331" border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td><a href="a_refman.htm"><img src="images/navtoc.gif" width="84" height="23"
border="0" alt="TOC"> </a></td>
<td><a href="st20si13.htm"><img src="images/navprev.gif" width="80" height="23"
border="0" alt="PREV"> </a></td>
<td><a href="st20si15.htm"><img src="images/navnext.gif" width="83" height="23"
border="0" alt="NEXT"> </a></td>
<td><a href="a_refmaa.htm"><img src="images/navidx.gif" width="84" height="23"
border="0" alt="INDEX"> </a></td>
</tr>
</table>
<p><br clear="all">
</p>
<hr align="left">
<blockquote>
<h2>
<a name="1205403"> </a><font color="#003366" face="Verdana, Arial, Helvetica, sans-serif">8.5 Generating statistics</font>
</h2><hr>
<p>
<a name="1205404"> </a><font size=2 face="Verdana, Arial, Helvetica, sans-serif">The simulator can accumulate statistics during the execution of an application, for part or all of the code. Statistics gathered include the number of cycles executed, the number of instructions executed, the number of jumps taken and the number of times each instruction was executed.</font>
</p>
<p>
<a name="1205405"> </a><font size=2 face="Verdana, Arial, Helvetica, sans-serif">When the application finishes executing, the statistics are written to a statistics file. The statistics file is written to same directory as the application code file. When <font size=2 face=Courier><strong>st20sim</strong></font> is run in stand-alone mode, the filename is derived from the application code file by changing the extension to <font size=2 face=Courier><strong>.sta</strong></font>; for example, the statistics file for <font size=2 face=Courier><strong>hello.hex</strong></font> is <font size=2 face=Courier><strong>hello.sta</strong></font>. When <strong>st20sim</strong> is invoked as an <strong>st20run</strong> target, the statistics are written to the file <font size=2 face=Courier><strong>default.sta</strong></font>. The format of the statistics file is described in <a href="st20si15.htm#1205434"><font color="#0000ff" face="Verdana, Arial, Helvetica, sans-serif"><i>Section
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -