Re: Time taken for each thread

2017-10-20 Thread Hui Yie Teh
Ok, thanks for the clarification! On 21 Oct 2017 18:24, "Chris Johns" wrote: > On 21/10/2017 16:15, Hui Yie Teh wrote: > > No, I am not. How do you apply the qemu patches? ​ > > Where did you get qemu from? > > > I tried following > > this https://docs.rtems.org/releases/rtemsdocs-4.10.2/ > shar

Re: Time taken for each thread

2017-10-20 Thread Chris Johns
On 21/10/2017 16:15, Hui Yie Teh wrote: > No, I am not. How do you apply the qemu patches? ​ Where did you get qemu from? > I tried following > this > https://docs.rtems.org/releases/rtemsdocs-4.10.2/share/rtems/html/started/started00036.html > but to no avail. That is an old release now and t

Re: Time taken for each thread

2017-10-20 Thread Hui Yie Teh
No, I am not. How do you apply the qemu patches? ​I tried following this https://docs.rtems.org/releases/rtemsdocs-4.10.2/share/rtems/html/started/started00036.html but to no avail. ___ users mailing list users@rtems.org http://lists.rtems.org/mailman/lis

Re: Time taken for each thread

2017-10-20 Thread Chris Johns
On 21/10/17 9:38 am, Hui Yie Teh wrote: > Sorry, I forgot to mention I am running on an arm board, lm3s6965 on qemu Are you using the qemu patches in the BSP's directory? Chris ___ users mailing list users@rtems.org http://lists.rtems.org/mailman/listin

Re: Time taken for each thread

2017-10-20 Thread Hui Yie Teh
Sorry, I forgot to mention I am running on an arm board, lm3s6965 on qemu On 21 Oct 2017 11:36, "Chris Johns" wrote: On 21/10/17 1:58 am, Hui Yie Teh wrote: > > How do I measure the time taken for a thread in RTEMS? I tried > using uint64_trtems_clock_get_uptime_nanoseconds(void); to get the sta

Re: Time taken for each thread

2017-10-20 Thread Chris Johns
On 21/10/17 1:58 am, Hui Yie Teh wrote: > > How do I measure the time taken for a thread in RTEMS? I tried > using uint64_trtems_clock_get_uptime_nanoseconds(void); to get the start and > end > time but it is giving me 0. > Which architecture and BSP? Chris

Time taken for each thread

2017-10-20 Thread Hui Yie Teh
Hi, How do I measure the time taken for a thread in RTEMS? I tried using uint64_t rtems_clock_get_uptime_nanoseconds(void); to get the start and end time but it is giving me 0. Any help would be very much appreciated. Thanks. ___ users mailing list user