Re: Choosing the timer to use in benchmarking

2011-09-01 Thread Michael Hope
On Fri, Sep 2, 2011 at 10:56 AM, John Stultz wrote: > On Wed, 2011-08-31 at 07:43 +1200, Michael Hope wrote: >> I was quite impressed with how steady the process clock was under >> different CPU loads. It doesn't seem to round up or down to a >> scheduler tick either which is nice. > > Hmm. Very

Re: Choosing the timer to use in benchmarking

2011-09-01 Thread John Stultz
On Wed, 2011-08-31 at 07:43 +1200, Michael Hope wrote: > I was quite impressed with how steady the process clock was under > different CPU loads. It doesn't seem to round up or down to a > scheduler tick either which is nice. Hmm. Very interesting results! Its been a little while since I've looke

RE: Choosing the timer to use in benchmarking

2011-08-31 Thread Turgis, Frederic
> It was a bit random across the different suites. CoreMark > uses clock_gettime(CLOCK_REALTIME, ...) which is a wall clock > with NTP adjustments. EEMBC uses clock() which is a lower > resolution wall clock. So everything was mostly wall clock based. We had not tested CLOCK_PROCESS_CPUTIME_ID

Re: Choosing the timer to use in benchmarking

2011-08-30 Thread Michael Hope
On Wed, Aug 31, 2011 at 12:38 AM, Turgis, Frederic wrote: > Hi, > > What was the timer used previously for benchmarks ? It was a bit random across the different suites. CoreMark uses clock_gettime(CLOCK_REALTIME, ...) which is a wall clock with NTP adjustments. EEMBC uses clock() which is a low

RE: Choosing the timer to use in benchmarking

2011-08-30 Thread Turgis, Frederic
Hi, What was the timer used previously for benchmarks ? Your page focuses on accuracy while I think an important point is already the availability/functionality of clock_gettime(CLOCK_PROCESS/THREAD_CPUTIME_ID, ...) on ARM, which measures process/thread execution time vs "wall time" for most o