What are the per-cpu host timers used for?

Jan Kiszka jan.kiszka at siemens.com
Fri Sep 4 12:44:15 CEST 2020


On 04.09.20 10:00, 孙世龙 sunshilong via Xenomai wrote:
> Hi, list
> 
> There are several host timers that could be seen through the virtual
> file named as /proc/xenomai/timer/coreclk,i.e:
> 
> ~ # cat /proc/xenomai/timer/coreclk
> CPU  SCHED/SHOT       TIMEOUT     INTERVAL    NAME
> 0    239162/150321         3ms467us    -           [host-timer/0]
> 1    33839/31631            10ms657us   -           [host-timer/1]
> 2    22189/19355            60us        -                 [host-timer/2]
> 3    45244/41172            90us        -                 [host-timer/3]
> 
> 
> What are the per-cpu host timers used for?

They inject timers set by Linux against the virtual clockevent device.
That device is provided by I-pipe as replacement for the "stolen"
physical one.

Jan

-- 
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux



More information about the Xenomai mailing list