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

Re: [rtl] substitute to jiffies





Alain Rolle wrote:
> 
> Hi again,
> 
> concerning jiffies in rtl, I can indeed see why it is not very usefull
> using them in a RT driver. My question is :
> could I simply use "gethrtime()" wherever "jiffies" ocurred in an
> original linux driver, or should I multiply "gethrtime()" with a certain
> factor.

jiffies = 11931800*gethrtime();

 By the way, can anyone tell me what jiffies really stands for in
> linux ? 

10 millisecond increments.

Or can give me at least a tip for further reading about the
> use and source of it ? 

See: sched.h/sched.c.


>I already tried the Linux Docu Project, but without
> results.
> 
> Thanks again,
> 
> Alain.
> 
> -- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail majordomo@rtlinux.org OR
> echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.org
> ---
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/~rtlinux/