<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
On 05/21/2012 08:49 AM, Fabrício de Novaes Kucinskis wrote:
<blockquote cite="mid:004701cd3758$88222040$986660c0$@dea.inpe.br"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EstiloDeEmail17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif][if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hi all,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">We've just upgraded our
development environment from RTEMS 4.10.0 to RTEMS 4.10.2.
As always, an interesting issue has raised! ;-)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">We use the ERC32 and SIS
BSPs. After the upgrade, a simple test application that
prints a clock once per second started to print the clock
values almost two times faster on SIS. The application gets
the number of ticks per second and uses it in the
rtems_task_wake_after directive.<o:p></o:p></span></p>
</div>
</blockquote>
When on any simulator, there is always the possibility that somehow
the fast idle mode<br>
in the clock driver got turned on.<br>
<blockquote cite="mid:004701cd3758$88222040$986660c0$@dea.inpe.br"
type="cite">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">To determine if the
issue was on SIS or RTEMS, we run in the 4.10.2 environment
the previous version of the test, compiled with RTEMS
4.10.0, and the task runs once per second. Also, the number
of ticks per second reported in both versions is the same.</span></p>
</div>
</blockquote>
<br>
Is this once per second in simulated or real time?<br>
<br>
Set a break point at Clock_isr and see if it is doing the fast idle
mode.<br>
<br>
<br>
<blockquote cite="mid:004701cd3758$88222040$986660c0$@dea.inpe.br"
type="cite">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Looking at the release
notes, we've found a number of changes/fixes related with
ticks and time since 4.10.0. But it seems that none of them
is related to what I report here.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
</blockquote>
I looked at the diff files and the only changes are fixing bugs <br>
related to nanoseconds since last tick when you ask on the<br>
edge of a tick interrupt occurring.<br>
<blockquote cite="mid:004701cd3758$88222040$986660c0$@dea.inpe.br"
type="cite">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Is this something to be
expected when upgrading? Am I missing some change in the
configuration?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Thanks in advance and
best regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Fabrício de Novaes
Kucinskis.<o:p></o:p></span></p>
</div>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Joel Sherrill, Ph.D. Director of Research& Development
<a class="moz-txt-link-abbreviated" href="mailto:joel.sherrill@OARcorp.com">joel.sherrill@OARcorp.com</a> On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
</pre>
</body>
</html>