Title :
An efficient implementation of Ada delay
Author :
Gearhart, Larry M.
Author_Institution :
TRW, Dayton, OH, USA
Abstract :
A preemption-oriented implementation of Ada delay which guarantees a response to a high-priority task within a period of time proportional to the logarithm of the number of delayed tasks is developed. Two versions are proposed. Both versions avoid the usual execution overhead of balanced tree algorithms (such as AVL trees) or the linear time-complexity growth associated with linked lists. A static version is proposed which is optimized for execution efficiency and a dynamic version is optimized for flexibility. Both versions are an adaptation of the standard heap sort algorithm, with extensions designed to allow efficient delay cancellation
Keywords :
Ada; AVL trees; Ada delay; balanced tree algorithms; delay cancellation; delayed tasks; dynamic version; embedded avionics; execution efficiency; flexibility; high-priority task; linear time-complexity growth; linked lists; military computing; preemption-oriented implementation; standard heap sort algorithm; static version; Aerospace electronics; Algorithm design and analysis; Application software; Clocks; Delay effects; Embedded software; Frequency; Laboratories; Programming profession; Timing;
Conference_Titel :
Aerospace and Electronics Conference, 1990. NAECON 1990., Proceedings of the IEEE 1990 National
Conference_Location :
Dayton, OH
DOI :
10.1109/NAECON.1990.112834