Design and implementation of a high resolution soft real-time timer

Show simple item record

dc.contributor.advisor Kourie, Derrick G. en
dc.contributor.postgraduate Grobler, Johannes Petrus en
dc.date.accessioned 2013-09-07T11:49:27Z
dc.date.available 2007-09-04 en
dc.date.available 2013-09-07T11:49:27Z
dc.date.created 2006-02-17 en
dc.date.issued 2007-09-04 en
dc.date.submitted 2007-08-28 en
dc.description Dissertation (MSc (Computer Science))--University of Pretoria, 2007. en
dc.description.abstract There are several timing mechanisms on presently available commercial operating systems. Two operating system platforms that immediately come to mind are the Microsoft Windows environment (the WIN32 platform) and its UNIX-based counterpart, Linux (with its POSIX standard). The timing mechanisms under these operating systems are adequate for use in conventional multimedia applications currently run on these platforms. However, the requirements of such applications are not as stringent within a real-time environment. The goal of this dissertation was to determine if it would be possible to find a workaround for applications where current timing mechanisms in the WIN32 and POSIX environments do not meet the requirements of real-time. Before a proposed workaround is presented, a clarification is given as to what is meant by the notion of a timer. Attention is also given to the fact that its accuracy is quantified in terms of its resolution. It is acknowledged that real-time extensions to both the Windows and Linux operating systems exist. However, it was decided to find a solution without such assistance. Real-time is also defined and sub-classified into hard- and soft real-time, differentiating environments that have precise constraints (hard real-time) on timing as opposed to environments where demands on accuracy and efficiency are less stringent (soft real-time). The timer that was ultimately implemented had to conform to the latter form of real-time. This dissertation therefore aims to provide a solution in a soft real-time environment. The current timing mechanisms are discussed and their performance is quantified. Their deficiency in measuring a reliable periodic interval of 1 ms is highlighted. From this qualification of timers stems the requirements for the soft real-timer timer. The areas in which improvement is sought are stated. The design and implementation of a soft real-time timer that meets these requirements is presented and its performance at various frequencies is quantified. A comparison is given between the timer and the existing timing mechanisms as well as comparison between its implementation under both Windows and Linux. Additionally, the viability of the proposed timer compared to a proven hard real-time timer is presented. Finally it is recognised that a timer would not be useful if it was not effective in a practical environment. Consequently, the timer’s performance under the same load that it would experience in a practical soft real-time environment is investigated as well. The dissertation concludes with a discussion on the compatibility of this timer with expected advances in future Central Processing Unit (CPU) technologies. en
dc.description.availability unrestricted en
dc.description.degree MSc
dc.description.department Computer Science en
dc.identifier.citation Grobler, JP 2007, Design and implementation of a high resolution soft real-time timer, MSc Dissertation, University of Pretoria, Pretoria, viewed yymmdd <http://hdl.handle.net/2263/27598>
dc.identifier.other Pretoria en
dc.identifier.upetdurl http://upetd.up.ac.za/thesis/available/etd-08282007-095022/ en
dc.identifier.uri http://hdl.handle.net/2263/27598
dc.language.iso en
dc.publisher University of Pretoria en_ZA
dc.rights © University of Pretor en
dc.subject Accuracy en
dc.subject “timing mechanism” en
dc.subject Resolution en
dc.subject Posix en
dc.subject Win32 en
dc.subject “operating system” en
dc.subject Timer en
dc.subject Clock en
dc.subject Frequency en
dc.subject “margin of error” en
dc.subject UCTD en_US
dc.title Design and implementation of a high resolution soft real-time timer en
dc.type Dissertation en


Files in this item

This item appears in the following Collection(s)

Show simple item record