Migration of Legacy Software Towards Correct-by-Construction Timing Behavior

This paper presents an approach for incrementally adjusting the timing behavior of legacy real-time software according to explicit timing specifications expressed in the Timing Definition Language (TDL). The main goals of such a migration are ensuring predictability of the timing behavior, and enabling adaptivity of the system. The latter is particularly important for embedded control systems which adapt their computational load in accordance to parameters of the physical environment in which they operate. Our approach entails a minimal instrumentation of the original code combined with an automatically generated runtime system, which ensures that the executions of designated periodic computations in the legacy software satisfy the logical execution time specifications of the TDL model. The presented approach has been applied to a complex legacy controller system in the automotive domain.

[1]  Alberto L. Sangiovanni-Vincentelli,et al.  Separate compilation of hierarchical real-time programs into linear-bounded Embedded Machine code , 2012, Sci. Comput. Program..

[2]  Stavros Tripakis,et al.  Semantics-preserving multitask implementation of synchronous programs , 2008, TECS.

[3]  Ketil Stølen,et al.  What is model driven architecture , 2003 .

[4]  Edward A. Lee Computing needs time , 2009, CACM.

[5]  Axel Uhl,et al.  Model-Driven Architecture , 2002, OOIS Workshops.

[6]  Françoise Simonot-Lion,et al.  Multicore scheduling in automotive ECUs , 2010 .

[7]  Mathai Joseph,et al.  Finding Response Times in a Real-Time System , 1986, Comput. J..

[8]  Wolfgang Pree,et al.  Modeling with the Timing Definition Language (TDL) , 2006, ASWSD.

[9]  Thomas A. Henzinger,et al.  Giotto: a time-triggered language for embedded programming , 2001, Proc. IEEE.

[10]  Christoph M. Kirsch,et al.  Semantics-Preserving and Incremental Runtime Patching of Real-Time Programs , 2008 .

[11]  Manfred Broy,et al.  Model-Driven Development of Reliable Automotive Services, Second Automotive Software Workshop, ASWSD 2006, San Diego, CA, USA, March 15-17, 2006, Revised Selected Papers , 2006, Automotive Software Workshop.

[12]  Alberto L. Sangiovanni-Vincentelli,et al.  A hierarchical coordination language for interacting real-time tasks , 2006, EMSOFT '06.

[13]  Alan Burns,et al.  Applying new scheduling theory to static priority pre-emptive scheduling , 1993, Softw. Eng. J..