Skip to contentSkip to conversation

RT, timers and CLOCK_REALTIME_HR

DISCUSSION Serge Noiraud 2 participants 2 messages Sep 13, 2006

lore
Share & tools
lore
#0 lore raw

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.

Signature · 1 line
Serge Noiraud
#1 lore raw
Quoted 7 lines · Serge Noiraud

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.

Quoted 2 lines

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

Yep.

Quoted 4 lines

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