I passed this along to the LinuxCNC developers, according to them,

rtai_apicfreq_arg = HZ*apic_read(APIC_TMICT);

is dead code.

LinuxCNC developers commented and said apic_read might be a function with side 
effects but even in that case, multiplication by Hz is definitely dead code. 
"well if the variable is hardware, all bets are off"

I've tested the removal of rtai_apicfreq_arg = HZ*apic_read(APIC_TMICT); and it 
works fine.

Commit here:

https://github.com/ShabbyX/RTAI/commit/88e68f51ee07de5b67e3802cf7458dffb2337470


Alec

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to