使用运行时和模型分析算法分析gCSP模型

M. Bezemer, Marcel A. Groothuis, J. Broenink
{"title":"使用运行时和模型分析算法分析gCSP模型","authors":"M. Bezemer, Marcel A. Groothuis, J. Broenink","doi":"10.3233/978-1-60750-065-0-67","DOIUrl":null,"url":null,"abstract":"Nowadays the amount of embedded systems is getting bigger and bigger. The systems themselves also become more complex. To aid developers of embedded systems a formal language called Communicating Sequential Processes (CSP) was designed. At the Control Engineering (CE) group a graphical tool called gCSP is developed to create CSP \nmodels. This tool allows for code generation. The generated code can be compiled with the Communicating Threads (CT) library into an executable. Users of gCSP tend to create a separate process for each task. From the model point of view this is excellent, but from a software point of \nview this consumes too many resources. First of all a new gCSP file format is created, such that an algorithm is able to read model information without too much effort. Next algorithms are designed and implemented, which perform \nanalysis on models using different techniques. \nThis assignment results into two analysis tools, which are able to perform an analysis of gCSP \nmodels. The first tool is a runtime analyser and uses the compiled executable to get information of \nthe order in which the processes are running. The second tool is a model analyser which directly \nanalyses a gCSP model. It creates a dependency graph and will try to group processes which are \nrelated to each other, resulting in a schedule for multi-core target systems. For single-core target \nsystems the results can be used to recreate the model with a few bigger processes. \nBoth tools are tested to see whether they both are functional and usable. Functional tests are \nexecuted using a simple model to be able to manually check the analysis results with the expected \noutcome. The usability tests perform tests using a series of models and interpret the outcome of \nthe analysers. \nFrom these tests it is concluded that both tools are complementing each other and are suitable for \nanalysing gCSP models in order to be able to create optimised models. The main recommendations \nare to implement the automatic creation of a new gCSP model using the results of the analysers \nand to improve the set of rules of both analysers even more to get better results.","PeriodicalId":246267,"journal":{"name":"Communicating Process Architectures Conference","volume":"16 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2009-11-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"4","resultStr":"{\"title\":\"Analysing gCSP Models Using Runtime and Model Analysis Algorithms\",\"authors\":\"M. Bezemer, Marcel A. Groothuis, J. Broenink\",\"doi\":\"10.3233/978-1-60750-065-0-67\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Nowadays the amount of embedded systems is getting bigger and bigger. The systems themselves also become more complex. To aid developers of embedded systems a formal language called Communicating Sequential Processes (CSP) was designed. At the Control Engineering (CE) group a graphical tool called gCSP is developed to create CSP \\nmodels. This tool allows for code generation. The generated code can be compiled with the Communicating Threads (CT) library into an executable. Users of gCSP tend to create a separate process for each task. From the model point of view this is excellent, but from a software point of \\nview this consumes too many resources. First of all a new gCSP file format is created, such that an algorithm is able to read model information without too much effort. Next algorithms are designed and implemented, which perform \\nanalysis on models using different techniques. \\nThis assignment results into two analysis tools, which are able to perform an analysis of gCSP \\nmodels. The first tool is a runtime analyser and uses the compiled executable to get information of \\nthe order in which the processes are running. The second tool is a model analyser which directly \\nanalyses a gCSP model. It creates a dependency graph and will try to group processes which are \\nrelated to each other, resulting in a schedule for multi-core target systems. For single-core target \\nsystems the results can be used to recreate the model with a few bigger processes. \\nBoth tools are tested to see whether they both are functional and usable. Functional tests are \\nexecuted using a simple model to be able to manually check the analysis results with the expected \\noutcome. The usability tests perform tests using a series of models and interpret the outcome of \\nthe analysers. \\nFrom these tests it is concluded that both tools are complementing each other and are suitable for \\nanalysing gCSP models in order to be able to create optimised models. The main recommendations \\nare to implement the automatic creation of a new gCSP model using the results of the analysers \\nand to improve the set of rules of both analysers even more to get better results.\",\"PeriodicalId\":246267,\"journal\":{\"name\":\"Communicating Process Architectures Conference\",\"volume\":\"16 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2009-11-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"4\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Communicating Process Architectures Conference\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.3233/978-1-60750-065-0-67\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Communicating Process Architectures Conference","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.3233/978-1-60750-065-0-67","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 4

摘要

如今,嵌入式系统的数量越来越大。系统本身也变得更加复杂。为了帮助嵌入式系统的开发人员,设计了一种称为通信顺序过程(CSP)的形式化语言。控制工程(CE)组开发了一种称为gCSP的图形工具来创建CSP模型。这个工具允许生成代码。生成的代码可以用通信线程(communication Threads, CT)库编译成可执行文件。gCSP的用户倾向于为每个任务创建一个单独的进程。从模型的角度来看,这是非常好的,但是从软件的角度来看,这消耗了太多的资源。首先,创建了一种新的gCSP文件格式,使算法能够轻松地读取模型信息。然后设计和实现算法,使用不同的技术对模型进行分析。这项任务产生了两个分析工具,它们能够执行gCSP模型的分析。第一个工具是运行时分析器,它使用编译后的可执行文件来获取进程运行顺序的信息。第二个工具是模型分析器,它直接分析gCSP模型。它会创建一个依赖关系图,并尝试对彼此相关的进程进行分组,从而生成多核目标系统的调度。对于单核目标系统,结果可以用于用几个更大的进程重新创建模型。这两个工具都经过测试,以确定它们是否都具有功能和可用性。使用简单的模型执行功能测试,以便能够手动检查分析结果和预期结果。可用性测试使用一系列模型执行测试,并解释分析器的结果。从这些测试中得出结论,这两个工具是互补的,并且适合于分析gCSP模型,以便能够创建优化的模型。主要建议是使用分析器的结果实现新的gCSP模型的自动创建,并进一步改进两个分析器的规则集,以获得更好的结果。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Analysing gCSP Models Using Runtime and Model Analysis Algorithms
Nowadays the amount of embedded systems is getting bigger and bigger. The systems themselves also become more complex. To aid developers of embedded systems a formal language called Communicating Sequential Processes (CSP) was designed. At the Control Engineering (CE) group a graphical tool called gCSP is developed to create CSP models. This tool allows for code generation. The generated code can be compiled with the Communicating Threads (CT) library into an executable. Users of gCSP tend to create a separate process for each task. From the model point of view this is excellent, but from a software point of view this consumes too many resources. First of all a new gCSP file format is created, such that an algorithm is able to read model information without too much effort. Next algorithms are designed and implemented, which perform analysis on models using different techniques. This assignment results into two analysis tools, which are able to perform an analysis of gCSP models. The first tool is a runtime analyser and uses the compiled executable to get information of the order in which the processes are running. The second tool is a model analyser which directly analyses a gCSP model. It creates a dependency graph and will try to group processes which are related to each other, resulting in a schedule for multi-core target systems. For single-core target systems the results can be used to recreate the model with a few bigger processes. Both tools are tested to see whether they both are functional and usable. Functional tests are executed using a simple model to be able to manually check the analysis results with the expected outcome. The usability tests perform tests using a series of models and interpret the outcome of the analysers. From these tests it is concluded that both tools are complementing each other and are suitable for analysing gCSP models in order to be able to create optimised models. The main recommendations are to implement the automatic creation of a new gCSP model using the results of the analysers and to improve the set of rules of both analysers even more to get better results.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信