2006-09-13 16:23:05

by Serge Noiraud

[permalink] [raw]
Subject: RT, timers and CLOCK_REALTIME_HR

Hi,

I have one question about CLOCK_REALTIME_HR.
Before the rt patch I used to work with this clock. ie : hrtimers-support-3.1.1

With the rt patch it seems CLOCK_REALTIME_HR does not exist anymore !
Is this normal ?
The kernel speaks about that in arch/ia64/Kconfig
perhaps it should be removed !

I had a libtimers using this clock.

Is the good correction to say CLOCK_REALTIME_HR = CLOCK_REALTIME ?
I don't want to modify all my programs.

--
Serge Noiraud


2006-09-13 17:58:29

by Thomas Gleixner

[permalink] [raw]
Subject: Re: RT, timers and CLOCK_REALTIME_HR

On Wed, 2006-09-13 at 17:12 +0200, Serge Noiraud wrote:
> Hi,
>
> I have one question about CLOCK_REALTIME_HR.
> Before the rt patch I used to work with this clock. ie : hrtimers-support-3.1.1
>
> With the rt patch it seems CLOCK_REALTIME_HR does not exist anymore !
> Is this normal ?

Yes, we removed it a while ago. Same for CLOCK_MONOTONIC_HR.

> The kernel speaks about that in arch/ia64/Kconfig
> perhaps it should be removed !

Yep.

> I had a libtimers using this clock.
>
> Is the good correction to say CLOCK_REALTIME_HR = CLOCK_REALTIME ?
> I don't want to modify all my programs.

Probably that's the best hack for you.

tglx