码迷,mamicode.com
首页 > 其他好文 > 详细

Modern Operating System --- Chap 5.5.2 Clock Software

时间:2015-10-05 08:10:23      阅读:169      评论:0      收藏:0      [点我收藏+]

标签:

All the clock hardware does is to generate interrupts at known intervals. Everything

else involving time must be done by the software, the clock driver. The exact duties

of the clock dirver vary among operating systems, but ususally include most of the 

following:

1. Maintaining the time of day.

2. Preventing processes from running longer than they are allowed to.

3. Accounting for CPU usage.

4. Handling the alarm system call made by user processes.

5. Providing watchdog timers for parts of the system itself.

6. Doing profiling, monitoring, and statistics garthering.

Modern Operating System --- Chap 5.5.2 Clock Software

标签:

原文地址:http://www.cnblogs.com/miaoyong/p/4855309.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!