Re: sched_clock - microblaze

Arnd Bergmann
2010-04-16T08:37:36Z

On Friday 16 April 2010, Michal Simek wrote:
> Why is sched_clock called in init_idle? Do you get any non zero value on
> any ARCH?

Yes, some architectures return a real-time value here that starts before boot.
Also, when the clock starts at boot time, there can be a significant time
spent in the firmware and early kernel code before we get to init_idle.

Arnd