Re: JFFS3 & performance

Artem B. Bityuckiy
2005-01-07T11:43:48Z

On Fri, 7 Jan 2005 jasmine@linuxgrrls.org wrote:

>
>
> On Fri, 7 Jan 2005, David Woodhouse wrote:
>
> > You can do better than that -- we have timers on ARM chips which are
> > better.
>
> And ARMv6 has performance counters too.
>
> -J.
>

I just can see asm-arm/timex.h. get_cycles() is always zero. May be ARMv6
is not supported yet, have no ideas.

Anyway, seems that almost all platforms have get_cycles() implemented
except ARM and some x86 (i386, i486 ...). We don't care much about x86
IMHO. So, only ARM case should be handled another way.

I'm not expert in ARM. So, any help is welcomed. Are there any calls in
(ARM) linux which we may use?

--
Best Regards,
Artem B. Bityuckiy,
St.-Petersburg, Russia.