{"title":"Predicting execution time of real-time programs on contemporary machines","authors":"M. Harmon","doi":"10.1145/98949.99074","DOIUrl":null,"url":null,"abstract":"A computer program that interacts with and reponds to real world processes in a timely fashion, and must com plete execution prior to its scheduled deadline, is called a ’’hard” real-time program. It is not sufficient for the implemented algorithm to be correct. The real-time pro gram must provide the correct response (computation) on time. A late computation is usually no better, possi bly even worse, than one that is on time but imprecise. The timing behavior of each real-time program compo nent (task) must be predictable if one is to build reliable deterministic real-time systems. Much of the research in real-time scheduling assumes that the execution lime of each task is known (e.g., Liu and Layland [2]). Work by Mok [3], on the use of semaphores, rendezvous, and monitors in real-time systems assumes that the (worst case) execution time of code segments is known. Stoyenko’s work [8] on the schedulability analyzer for Real-Time Euclid addressed the problem of worst case timing analysis of tasks, by assuming the execution time of each instruction is con stant. However, even the hardware builders [4] concede that the exact execution time of a given instruction may vary, depending upon the surrounding instructions and the current 6tate of the machine. Park and Shaw [5] implemented a timing tool for a subset of C, which is based on the notion of a timing schema presented in [7]. A method very similar to that of Shaw is presented by Puschner and Koza [6]. Shaw acknowledges that al though his approach seems to work well when applied to determinisitic hardware, more research is needed to determine timing predictability on contemporary ma chines.","PeriodicalId":409883,"journal":{"name":"ACM-SE 28","volume":"6 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1990-04-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"ACM-SE 28","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/98949.99074","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2
Abstract
A computer program that interacts with and reponds to real world processes in a timely fashion, and must com plete execution prior to its scheduled deadline, is called a ’’hard” real-time program. It is not sufficient for the implemented algorithm to be correct. The real-time pro gram must provide the correct response (computation) on time. A late computation is usually no better, possi bly even worse, than one that is on time but imprecise. The timing behavior of each real-time program compo nent (task) must be predictable if one is to build reliable deterministic real-time systems. Much of the research in real-time scheduling assumes that the execution lime of each task is known (e.g., Liu and Layland [2]). Work by Mok [3], on the use of semaphores, rendezvous, and monitors in real-time systems assumes that the (worst case) execution time of code segments is known. Stoyenko’s work [8] on the schedulability analyzer for Real-Time Euclid addressed the problem of worst case timing analysis of tasks, by assuming the execution time of each instruction is con stant. However, even the hardware builders [4] concede that the exact execution time of a given instruction may vary, depending upon the surrounding instructions and the current 6tate of the machine. Park and Shaw [5] implemented a timing tool for a subset of C, which is based on the notion of a timing schema presented in [7]. A method very similar to that of Shaw is presented by Puschner and Koza [6]. Shaw acknowledges that al though his approach seems to work well when applied to determinisitic hardware, more research is needed to determine timing predictability on contemporary ma chines.