Choosing the timer to use in benchmarking
Michael Hope
michael.hope at linaro.org
Tue Aug 30 19:43:05 UTC 2011
On Wed, Aug 31, 2011 at 12:38 AM, Turgis, Frederic <f-turgis at ti.com> 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 lower resolution wall
clock.
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.
-- Michael
More information about the linaro-dev
mailing list