Nowadays, the powerful development of embedded software, the optimizing embedded software play an important role. The evaluation and optimization in the design phase of embedded software brings many benefits. In this paper, we propose a new method to optimize the occupied memory of embedded software in the design phase based on DSL, T4 and Topological sort. A program is a chain of Tasks and the relationship between each Task. The program is specified by the dependence graph that is a directed graph. Each node in directed graph describes a Task, each Task consists of specification information such as name, input, output. Each edge describes the relationship between two Tasks. The programs working by order of Task in the different Topo chain does not change the result but the occupied memory and performances are difference. From the dependence graph, we can find many Topo chains, and each of them will have amount of occupied memory in difference. From the Topo chains on the directed graph, we built the memory evaluation function to find the best Topo chain which has the smallest amount of occupied memory.
KEYWORDS: Performance modeling, Computer architecture, Analytical research, FDA class I medical device development, Optical character recognition, Software engineering, Optimization (mathematics), Software development, Quality measurement, Visualization
The evaluation of software performance in the early stages of the software life cycle is important and it has been
widely studied. In the software model specification, class diagram is the important object-oriented software
specification model. The measures based on a class diagram have been widely studied to evaluate quality of
software such as complexity, maintainability, reuse capability, etc. However the software performance evaluation
based on Class model has not been widely studied, especially for object-oriented design of embedded software.
Therefore, in this paper we propose a new approach to directly evaluate the software performance based on class
diagrams. From a class diagram, we determine the parameters which are used to evaluate and build formula of the
measures such as Size of Class Variables, Size of Class Methods, Size of Instance Variables, Size of Instance
Methods, etc. Then, we do analysis of the dependence of performance on these measures and build the performance
evaluation function from class diagram. Thereby we can choose the best class diagram based on this evaluation
function.
Access to the requested content is limited to institutions that have purchased or subscribe to SPIE eBooks.
You are receiving this notice because your organization may not have SPIE eBooks access.*
*Shibboleth/Open Athens users─please
sign in
to access your institution's subscriptions.
To obtain this item, you may purchase the complete book in print or electronic format on
SPIE.org.
INSTITUTIONAL Select your institution to access the SPIE Digital Library.
PERSONAL Sign in with your SPIE account to access your personal subscriptions or to use specific features such as save to my library, sign up for alerts, save searches, etc.