<div dir="ltr">Thanks.<div><br></div><div>A ticket needs to be filed to convert the tests if the counter works on all BSPs.</div><div>What are the BSP requirements for counter?</div><div><br></div><div>Also, it likely means that results need to be recalibrated and cannot be compared</div><div>for historical purposes.</div><div><br></div><div>At this point, I consider the two tests using counter future looking and outliers.</div><div><br></div><div>--joel</div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Nov 7, 2018 at 12:00 PM Sebastian Huber <<a href="mailto:sebastian.huber@embedded-brains.de">sebastian.huber@embedded-brains.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">----- Am 7. Nov 2018 um 18:13 schrieb joel <a href="mailto:joel@rtems.org" target="_blank">joel@rtems.org</a>:<br>
<br>
> Hi<br>
> <br>
> Do these report the same units?<br>
<br>
Not necessarily.<br>
<br>
> <br>
> If not, there are only *tmtests which use rtems/counter.h and thus would be<br>
> reporting numbers with different units than the btimer.<br>
<br>
You can convert the counter value to nanoseconds:<br>
<br>
<a href="https://docs.rtems.org/doxygen/branches/master/group__ClassicCounter.html#ga3e50a042e60bfcafdff5dbd46cad8947" rel="noreferrer" target="_blank">https://docs.rtems.org/doxygen/branches/master/group__ClassicCounter.html#ga3e50a042e60bfcafdff5dbd46cad8947</a><br>
<br>
This is used by some tests for the XML output which can be used to plot some graphs:<br>
<br>
<a href="https://git.rtems.org/rtems/tree/testsuites/tmtests/tmcontext01/tmcontext01.scn" rel="noreferrer" target="_blank">https://git.rtems.org/rtems/tree/testsuites/tmtests/tmcontext01/tmcontext01.scn</a><br>
<a href="https://git.rtems.org/rtems/tree/testsuites/tmtests/tmcontext01/plot.py" rel="noreferrer" target="_blank">https://git.rtems.org/rtems/tree/testsuites/tmtests/tmcontext01/plot.py</a><br>
</blockquote></div>