Title :
Design and Implementation of High-Precision Timer in Linux
Author :
Dun-fan, YE ; Fei-fan, ZHOU ; Liang-liang, MIN
Author_Institution :
Dept. of Mech. & Electron. Eng., China Univ. of Geosci., Wuhan, China
fDate :
March 31 2009-April 2 2009
Abstract :
Clock precision directly affects that if tasks can be timely responded and scheduled or not. As a time-sharing system, Linux cyclical time granularity can not achieve microsecond response precision. Simply raising clock frequency means that the clock interrupt´s process will take up too much time of processor. And it makes the system´s effective utilization decline. This paper introduces some ways of improving clock´s precision for real-time Linux, analyses the theory of MontaVista Linux high resolution timer (HRT) mechanism, implements a high-precision clock in current popular embedded operating systems through modifying Linux kernel to design a Linux high-precision timer to raising the Linux clock precision effectively.
Keywords :
Linux; embedded systems; interrupts; operating system kernels; time-sharing systems; Linux cyclical time granularity; Linux kernel; MontaVista Linux; clock frequency; clock interrupt process; clock precision; embedded operating system; high resolution timer mechanism; high-precision timer; real-time Linux; time-sharing system; Clocks; Counting circuits; Design engineering; Frequency; Hardware; Kernel; Linux; Operating systems; Real time systems; Timing; Linux; clock precision; high-precision timer; real-time operating system;
Conference_Titel :
Computer Science and Information Engineering, 2009 WRI World Congress on
Conference_Location :
Los Angeles, CA
Print_ISBN :
978-0-7695-3507-4
DOI :
10.1109/CSIE.2009.277