Full Text Available

Note: Clicking the button above will open the full text document at the original institutional repository in a new window.

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

Dissertation (MSc (Computer Science))--University of Pretoria, 2007.

Saved in:
Bibliographic Details
Other Authors: Kourie, Derrick G.
Format: Thesis
Published: University of Pretoria 2013
Subjects:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1867613693070540800
access_status_str Open Access
author2 Kourie, Derrick G.
author_browse Kourie, Derrick G.
author_facet Kourie, Derrick G.
collection Thesis
dc_rights_str_mv © University of Pretor
description Dissertation (MSc (Computer Science))--University of Pretoria, 2007.
format Thesis
id oai:repository.up.ac.za:2263/27598
institution University of Pretoria (South Africa)
last_indexed 2026-06-10T12:40:11.720Z
license_str Other — see source repository
provenance_str_mv Harvested via OAI-PMH from UPSpace — University of Pretoria Institutional Repository
publishDate 2013
publishDateRange 2013
publishDateSort 2013
publisher University of Pretoria
publisherStr University of Pretoria
record_format dspace
source_str UPSpace — University of Pretoria Institutional Repository
spelling oai:repository.up.ac.za:2263/27598 Design and implementation of a high resolution soft real-time timer Kourie, Derrick G. jannogrobler@gmail.com Grobler, Johannes Petrus Accuracy “timing mechanism” Resolution Posix Win32 “operating system” Timer Clock Frequency “margin of error” UCTD Dissertation (MSc (Computer Science))--University of Pretoria, 2007. 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. Computer Science MSc unrestricted 2013-09-07T11:49:27Z 2007-09-04 2013-09-07T11:49:27Z 2006-02-17 2007-09-04 2007-08-28 Dissertation 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> Pretoria http://hdl.handle.net/2263/27598 http://upetd.up.ac.za/thesis/available/etd-08282007-095022/ © University of Pretor application/pdf University of Pretoria
spellingShingle Accuracy
“timing mechanism”
Resolution
Posix
Win32
“operating system”
Timer
Clock
Frequency
“margin of error”
UCTD
Design and implementation of a high resolution soft real-time timer
title Design and implementation of a high resolution soft real-time timer
title_full Design and implementation of a high resolution soft real-time timer
title_fullStr Design and implementation of a high resolution soft real-time timer
title_full_unstemmed Design and implementation of a high resolution soft real-time timer
title_short Design and implementation of a high resolution soft real-time timer
title_sort design and implementation of a high resolution soft real time timer
topic Accuracy
“timing mechanism”
Resolution
Posix
Win32
“operating system”
Timer
Clock
Frequency
“margin of error”
UCTD
url http://hdl.handle.net/2263/27598
http://upetd.up.ac.za/thesis/available/etd-08282007-095022/