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

[microblaze-uclinux] Sleep time issue



Greetings to everybody.

Hoping this will not take you much time.

I'm using the svn version of petalinux on a spartan3e.
It seems to me that the console sleep function is taking more time than
needed.
When CONFIG_HZ is 100 it waits ~150 ticks for sleeping a second (instead
of 100).
When CONFIG_HZ is 1000 it waits ~1500 ticks for the same amount of time.

cpu & peripheral bus are clocked at 66.667 MHZ and cat /proc/pcuinfo
confirms that.

Ticks are generated correctly. 100 per sec when CONFIG_HZ = 100 and 1000
when CONFIG_HZ = 1000.

I just need a few debug hints on how to proceed.
I searched on the mailing list about any sleep issue but I could not
find anything.

Many thanks for your support.
Giulio Mazzoleni

___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/