Title :
Toward optimized code generation through model-based optimization
Author :
Charfi, Asma ; Mraidha, Chokri ; Gérard, Sébastien ; Terrier, François ; Boulet, Pierre
Author_Institution :
Lab. of Model Driven Eng. for Embedded Syst., CEA LIST, Gif-sur-Yvette, France
Abstract :
Model-Based Development (MBD) provides an additional level of abstraction, the model, which lets engineers focus on the business aspect of the developed system. MBD permits automatic treatments of these models with dedicated tools like synthesis of system´s application by automatic code generation. Real-Time and Embedded Systems (RTES) are often constrained by their environment and/or the resources they own in terms of memory, energy consumption with respect to performance requirements. Hence, an important problem to deal with in RTES development is linked to the optimization of their software part. Although automatic code generation and the use of optimizing compilers bring some answers to application optimization issue, we will show in this paper that optimization results may be enhanced by adding a new level of optimizations in the modeling process. Our arguments are illustrated with examples of the Unified Modeling Language (UML) state machines diagrams which are widely used for control aspect modeling of RTES. The well-known Gnu Compiler Collection (GCC) is used for this study. The paper concludes on a proposal of two step optimization approach that allows reusing as they are, existing compiler optimizations.
Keywords :
Unified Modeling Language; optimising compilers; real-time systems; Gnu compiler collection; Unified Modeling Language; automatic code generation; automatic treatments; business aspect; compiler optimizations; control aspect modeling; embedded systems; model-based development; model-based optimization; modeling process; optimized code generation; optimizing compilers; real-time systems; state machines diagrams; Application software; Buildings; Embedded system; Energy consumption; Laboratories; Model driven engineering; Optimizing compilers; Proposals; Real time systems; Unified modeling language;
Conference_Titel :
Design, Automation & Test in Europe Conference & Exhibition (DATE), 2010
Conference_Location :
Dresden
Print_ISBN :
978-1-4244-7054-9
DOI :
10.1109/DATE.2010.5457010