[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [rtl] substitute to jiffies
"Wayne E. Van Loon Sr." wrote:
> In my opinion, a better
> description of the jiffy is that the jiffy is the time of one "time slice"
> for the scheduler.
Yes, I was trying to be brief. The setting of the constant HZ (number
of jiffies per second) will affect the result. The most common default
setting for HZ is 100 which translates into 10 milliseconds. But many
using RTL have set HZ to 1000 to get more responsiveness from Linux.
Also, hrtime is a 64 bit signed value, and a jiffies is a unsigned 32
bit number.
- Kal.