<div dir="auto"><div>Sorry, I forgot to mention I am running on an arm board, lm3s6965 on qemu<br><div class="gmail_extra"><br><div class="gmail_quote">On 21 Oct 2017 11:36, "Chris Johns" <<a href="mailto:chrisj@rtems.org">chrisj@rtems.org</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="quoted-text">On 21/10/17 1:58 am, Hui Yie Teh wrote:<br>
><br>
> How do I measure the time taken for a thread in RTEMS? I tried<br>
</div>> using uint64_trtems_clock_get_<wbr>uptime_nanoseconds(void); to get the start and end<br>
<div class="quoted-text">> time but it is giving me 0.<br>
><br>
<br>
</div>Which architecture and BSP?<br>
<br>
Chris<br>
______________________________<wbr>_________________<br>
users mailing list<br>
<a href="mailto:users@rtems.org">users@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.rtems.org/<wbr>mailman/listinfo/users</a></blockquote></div><br></div></div></div>