Article count:1086 Read by:1552441

Account Entry

Linux BSP Practical Course (Time Driven Chapter): Timing Function of Time Subsystem

Latest update time:2024-02-20
    Reads:
  • Time subsystem architecture

  • Initialization of timers and clock sources

    • Initialization of local timer

    • Initialization of system counter

  • High resolution timer hrtimer

    • Initialization of hrtimer

    • Use of hrtimer

  • Low resolution timer

  • sched_timer

If the kernel is alive, then time is the heart of the kernel, controlling the pulse of the kernel, but the way this heart beats will be different depending on the hardware configuration. There are a lot of requirements in the kernel that require the help of time, such as timers, process scheduling, time acquisition , etc. The time subsystem in the kernel is used to implement this part of the function.

Time subsystem architecture

The Linux time subsystem functionally divides the above requirements into timing and timing . Timing is used to trigger interrupt events at regular intervals, while timing is used to record the timeline of the real world. The schematic diagram of its software architecture is as follows:

 
EEWorld WeChat Subscription

 
EEWorld WeChat Service Number

 
AutoDevelopers

About Us Customer Service Contact Information Datasheet Sitemap LatestNews

Room 1530, Zhongguancun MOOC Times Building,Block B, 18 Zhongguancun Street, Haidian District,Beijing, China Tel:(010)82350740 Postcode:100190

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号