{"title":"A Programming Model for Time-Synchronized Distributed Real-Time Systems","authors":"Yang Zhao, Jie Liu, Edward A. Lee","doi":"10.1109/RTAS.2007.5","DOIUrl":null,"url":null,"abstract":"Discrete-event (DE) models are formal system specifications that have analysable deterministic behaviors. Using a global, consistent notion of time, DE components communicate via time-stamped events. DE models have primarily been used in performance modeling and simulation, where time stamps are a modeling property bearing no relationship to real time during execution of the model. In this paper, we extend DE models with the capability of relating certain events to physical time. We propose a programming model, called PTIDES (programming temporally integrated distributed embedded systems), which has DE semantics, but with carefully chosen relations between model time and real time. Key to making this model effective is to ensure that constraints that guarantee determinacy in the semantics are preserved at runtime. To accomplish this, we give a distributed execution strategy that obeys DE semantics without the penalty of totally ordered executions based on time stamps. Our technique relies on having a distributed common notion of time, known to some precision. Based on causality analysis of DE models, we define relevant dependency and relevant orders to enable out-of-order execution without compromising determinism and without requiring backtracking","PeriodicalId":222543,"journal":{"name":"13th IEEE Real Time and Embedded Technology and Applications Symposium (RTAS'07)","volume":"45 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2007-04-03","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"176","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"13th IEEE Real Time and Embedded Technology and Applications Symposium (RTAS'07)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/RTAS.2007.5","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 176
Abstract
Discrete-event (DE) models are formal system specifications that have analysable deterministic behaviors. Using a global, consistent notion of time, DE components communicate via time-stamped events. DE models have primarily been used in performance modeling and simulation, where time stamps are a modeling property bearing no relationship to real time during execution of the model. In this paper, we extend DE models with the capability of relating certain events to physical time. We propose a programming model, called PTIDES (programming temporally integrated distributed embedded systems), which has DE semantics, but with carefully chosen relations between model time and real time. Key to making this model effective is to ensure that constraints that guarantee determinacy in the semantics are preserved at runtime. To accomplish this, we give a distributed execution strategy that obeys DE semantics without the penalty of totally ordered executions based on time stamps. Our technique relies on having a distributed common notion of time, known to some precision. Based on causality analysis of DE models, we define relevant dependency and relevant orders to enable out-of-order execution without compromising determinism and without requiring backtracking
离散事件(DE)模型是具有可分析确定性行为的正式系统规范。利用全局一致的时间概念,离散事件组件通过时间戳事件进行通信。DE 模型主要用于性能建模和仿真,其中时间戳是一种建模属性,与模型执行过程中的实际时间无关。在本文中,我们扩展了 DE 模型,使其能够将某些事件与物理时间联系起来。我们提出了一种编程模型,称为 PTIDES(编程时间集成分布式嵌入式系统),它具有 DE 语义,但在模型时间和实际时间之间有精心选择的关系。要使这一模型有效,关键在于确保在运行时保留保证语义确定性的约束条件。为了实现这一目标,我们给出了一种分布式执行策略,它服从 DE 语义,而不会受到基于时间戳的完全有序执行的惩罚。我们的技术依赖于一个分布式的通用时间概念,这个概念的精确度是已知的。基于 DE 模型的因果关系分析,我们定义了相关依赖性和相关命令,从而在不影响确定性和不需要回溯的情况下实现无序执行。