Causality problem in real-time calculus

Karine Altisen 1 Matthieu Moy 2
1 SYNCHRONE
VERIMAG - IMAG - VERIMAG
Abstract : Real-Time Calculus (RTC) is a framework to analyze heterogeneous, real-time systems that process event streams of data. The streams are characterized by pairs of curves, called arrival curves, that express upper and lower bounds on the number of events that may arrive over any specified time interval. A well-known limitation of RTC is that it cannot model systems with states and several works studied how to interface RTC curves with state-based models. Doing so, while trying, for example to generate a stream of events that satisfies some given pair of curves, we faced a causality problem: it can be the case that, after generating a finite prefix of an event stream, the generator deadlocks, since no extension of the prefix can satisfy the curves afterwards. This paper formally defines the problem; it states and proves algebraic results that characterize causal pairs of curves, i.e. curves for which the problem cannot occur. We consider the general case of infinite curve models, either discrete or continuous time and events. The paper provides an analysis on how causality issues appear when using arrival curves and how they could be handled. It also provides an overview of algorithms to compute causal curves in several models. These algorithms compute a canonical representation of a pair of curves, which is the best pair of curves among the curves equivalent to the ones they take as input.
Complete list of metadatas

Cited literature [36 references]  Display  Hide  Download

https://hal.archives-ouvertes.fr/hal-01406162
Contributor : Matthieu Moy <>
Submitted on : Wednesday, November 30, 2016 - 7:01:02 PM
Last modification on : Monday, November 12, 2018 - 4:24:03 PM
Long-term archiving on : Monday, March 27, 2017 - 8:23:08 AM

File

causality-springer.pdf
Files produced by the author(s)

Identifiers

Collections

Citation

Karine Altisen, Matthieu Moy. Causality problem in real-time calculus. Formal Methods in System Design, Springer Verlag, 2016, 48, pp.1 - 45. ⟨10.1007/s10703-016-0250-y⟩. ⟨hal-01406162⟩

Share

Metrics

Record views

186

Files downloads

193