Re: When did High-Resolution Timers hit mainline?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Bart Van Assche
Date: Tuesday, June 24, 2008 - 11:32 pm

On Wed, Jun 25, 2008 at 6:08 AM, Michael Kerrisk
<mtk.manpages@googlemail.com> wrote:

Maybe "size of a jiffy" should be replaced by "duration of a jiffy" ?

An explanation of the impact of CONFIG_NO_HZ is missing.

You also missed the fact that since the 2.6 kernel there are two
constants related to time resolution, namely HZ and USER_HZ. HZ is the
frequency of the timer interrupt, and 1/USER_HZ is the time resolution
for system calls that use jiffies as time unit (e.g. the five values
returned by the times() system call). The time resolution of e.g. the
select() and poll() system calls is 1.0/HZ since the timeout for these
system calls is specified as a struct timeval or struct timespec.

Bart.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
When did High-Resolution Timers hit mainline?, Michael Kerrisk, (Mon Jun 23, 11:35 pm)
Re: When did High-Resolution Timers hit mainline?, Michael Kerrisk, (Tue Jun 24, 9:08 pm)
Re: When did High-Resolution Timers hit mainline?, Bart Van Assche, (Tue Jun 24, 11:32 pm)
Re: When did High-Resolution Timers hit mainline?, Thomas Gleixner, (Wed Jun 25, 12:09 am)
Re: When did High-Resolution Timers hit mainline?, Michael Kerrisk, (Wed Jun 25, 5:16 am)
Re: When did High-Resolution Timers hit mainline?, Michael Kerrisk, (Wed Jun 25, 5:20 am)
Re: When did High-Resolution Timers hit mainline?, Thomas Gleixner, (Wed Jun 25, 5:22 am)
Re: When did High-Resolution Timers hit mainline?, Michael Kerrisk, (Wed Jun 25, 5:25 am)
Re: When did High-Resolution Timers hit mainline?, Michael Kerrisk, (Wed Jun 25, 6:33 am)
Re: When did High-Resolution Timers hit mainline?, Michael Kerrisk, (Wed Jun 25, 7:11 am)