Re: measure the execution time of each thread

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]




>Note that this technique is only accurate to the system tick time
>which is normally 10ms.  If your thread runs for less time than this,
>you won't know.

>Look at the test program tm_basic.cxx for details on how to measure
>at a finer grain (without the overhead of decreasing the tick time).

I use eCos for Sparc (Leon3 processor) with a 66 MHz.
Means that the clock tick  corresponds to 1.5Ã10-5ms(15ns).
is it possible  to measure the execution time of a thread??
-- 
View this message in context: http://old.nabble.com/measure-the-execution-time-of-each-thread-tp31407684p31428511.html
Sent from the Sourceware - ecos-discuss mailing list archive at Nabble.com.


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss




[Index of Archives]     [Linux Embedded]     [U-Boot V2]     [Linux Kernel]     [Linux MIPS]     [Linux ARM]     [Linux for the Blind]     [Linux Resources]     [Photo]     [Yosemite]     [ISDN Cause Codes]     [eCos Home]

  Powered by Linux