HW timers in Linux ?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

HW timers in Linux ?

1,280 次查看
rans
Senior Contributor I

Hello,

I checked in docs and code, but not too sure:

Is kernel support HW timers ?

Is it that hrtimer in kernel (or  timer_create in userspace) use HW timers ?

Thank you,

Ran

0 项奖励
回复
3 回复数

1,177 次查看
art
NXP Employee
NXP Employee

Yes, of course, the kernel timer relies on some hardware timer.


Have a great day,
Artur

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复

1,177 次查看
rans
Senior Contributor I

Artur,

Is timer_create also use the HW timer ?

Thank you,

Ran

0 项奖励
回复

1,177 次查看
art
NXP Employee
NXP Employee

Any software-created timer relies on the system timer, that, in turns, relies on the hardware timer.

Best Regards,

Artur

0 项奖励
回复