{"title":"Introducing Automatic Time Stamping (ATS) with a Reference Implementation in Swift","authors":"Sean Hamilton, Dhiman Sengupta, Rajesh E. Gupta","doi":"10.1109/ISORC.2018.00028","DOIUrl":null,"url":null,"abstract":"The need for associating a time with the arrival of data is prevalent in many applications but this is even more the case in Cyber Physical Systems (CPS) which measure quantities from the real world. One common attribute of any measured real world quantity is the time of when it was acquired. Automating the process of time stamping data upon arrival frees the programmer from having to deal with this task manually thus reducing the number of errors, shrinking the code size and making the code more readable and maintainable. This paper explores the concept of variables that are automatically time stamped by the runtime system and its impact in building real-time applications. Such time stamping support enables seamless integration of a time model that is kept updated by real-time events within well-defined synchronization time bounds. This paper discusses the design of the Automatic Time Stamping (ATS) framework and the prototype implementation of such variables using open source programming language Swift. Our results demonstrate the viability of the ATS framework for most real-time applications. In doing this work we have learned that the abstraction of time in software programming models still have much room for improvements from the operating system level all the way up to the programming languages and runtimes used by the developers.","PeriodicalId":395536,"journal":{"name":"2018 IEEE 21st International Symposium on Real-Time Distributed Computing (ISORC)","volume":"6 4 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2018-05-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2018 IEEE 21st International Symposium on Real-Time Distributed Computing (ISORC)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ISORC.2018.00028","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1
Abstract
The need for associating a time with the arrival of data is prevalent in many applications but this is even more the case in Cyber Physical Systems (CPS) which measure quantities from the real world. One common attribute of any measured real world quantity is the time of when it was acquired. Automating the process of time stamping data upon arrival frees the programmer from having to deal with this task manually thus reducing the number of errors, shrinking the code size and making the code more readable and maintainable. This paper explores the concept of variables that are automatically time stamped by the runtime system and its impact in building real-time applications. Such time stamping support enables seamless integration of a time model that is kept updated by real-time events within well-defined synchronization time bounds. This paper discusses the design of the Automatic Time Stamping (ATS) framework and the prototype implementation of such variables using open source programming language Swift. Our results demonstrate the viability of the ATS framework for most real-time applications. In doing this work we have learned that the abstraction of time in software programming models still have much room for improvements from the operating system level all the way up to the programming languages and runtimes used by the developers.