|
Re: dynamic cpu clock speed and QNX
|
09/25/2008 12:51 PM
post14038
|
Re: dynamic cpu clock speed and QNX
Josh Schmiedlin wrote:
> Is there any plans for future support of this?
Not that I'm currently aware of.
> Would you be able to point me to something specific in the kernal/ipl/etc that is based on cpu clock cycles rather
than actual time? And if so is there a way to modify these values after the system is booted?
The nanospin routines would need it (affecting many drivers). cycles_per_sec in qtime would need to be adjusted, as
would other qtime values.
The kernel trace module would have to be notified of the frequency change - this would invalidate the header that
tracelogger wrote. The IDE's SystemProfiler plugin would also need to be
updated.
Adaptive partitioning uses ClockCycles for microbilling.
Many systems assume that ClockCycles() is synchronised across CPUs, and increments at the same rate.
The profiling libs would need to be udpated too.
So not a trivial job, although doable. It might be advisable to switch ClockCycles to another timer (such as an APIC
timer) if this course would be pursued.
Do you have a specific business requirement for this? You might be able to convince the powers that be that it makes
sense if you have a good opportunity. :-)
> Thanks,
>
> Josh
>
> _______________________________________________
> OSTech
> http://community.qnx.com/sf/go/post14035
>
--
cburgess@qnx.com
|
|
|