DocumentCode :
2511023
Title :
A New Implementation Method of Timer for Periodic Tasks
Author :
Gao, Zhigang ; Zhang, Peifeng ; Dai, Guojun ; Zeng, Hong
Author_Institution :
Coll. of Comput. Sci., Hangzhou Dianzi Univ., Hangzhou, China
fYear :
2009
fDate :
25-27 Sept. 2009
Firstpage :
98
Lastpage :
102
Abstract :
In real-time systems, an efficient and stable implementation of timer is crucial to the timing requirements of tasks. The traditional methods take O(n2) time overhead to maintain timers in the periodic task model. In this paper, we present a new implementation method that takes O(n) time overhead. This method calculates all trigger instants of periodic tasks within a hyperperiod off-line, and assigns these instants to corresponding periodic timers. The timer system checks whether a trigger instant arrives in the timer Interrupt Service Routine (ISR), and activates tasks periodically without any additional overhead, such as deletion and insertion for new timeouts. Experiments show that the method presented in this paper can improve the execution speed of timers with low overhead in space and increase stability in execution time.
Keywords :
interrupts; multiprogramming; operating systems (computers); real-time systems; timing; interrupt service routine; multitasking; operating system; periodic task model; real-time system; timer system; trigger; Computer science; Costs; Data structures; Educational institutions; Embedded computing; Jitter; Operating systems; Real time systems; Scheduling; Stability; Real-time systems; Timers; interrupts; operating systems; periodic tasks;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Scalable Computing and Communications; Eighth International Conference on Embedded Computing, 2009. SCALCOM-EMBEDDEDCOM'09. International Conference on
Conference_Location :
Dalian
Print_ISBN :
978-0-7695-3825-9
Type :
conf
DOI :
10.1109/EmbeddedCom-ScalCom.2009.28
Filename :
5341594
Link To Document :
بازگشت