Program memory optimization for automatically generated tests for AUTOSAR RTE

Kristijan Vlašiček, Ivan Vidovic, N. Teslic, Nenad Pekez
{"title":"Program memory optimization for automatically generated tests for AUTOSAR RTE","authors":"Kristijan Vlašiček, Ivan Vidovic, N. Teslic, Nenad Pekez","doi":"10.1109/ZINC52049.2021.9499293","DOIUrl":null,"url":null,"abstract":"With the technological advancements in the automotive industry, the need for more electronic components has increased as well as for the appropriate software, that is, appropriate drivers. The development of such software is usually based on the AUTOSAR standard, while the required electronics use embedded computer systems. Considering that the embedded computer systems have limited resources, the software needs to be optimized. In this paper, the program memory of the considered software was optimized. The optimization was done using the following methods: introduction of generic functions, extraction of repetitive functions in the header files and dead code elimination. The optimization methods were applied by changing a code fragment written in C programming language. In that way, the program memory optimization method could be applied to all software components (SWCs) using Test Environment Generator (TEG). Afterward, the program code testing was done on a testing board. The results of the testing on board prove the functionality of the optimized program code. The applied methods optimized the memory usage (6.16% reduction) and preserved the functionality of the program code to an appropriate extent.","PeriodicalId":308106,"journal":{"name":"2021 Zooming Innovation in Consumer Technologies Conference (ZINC)","volume":"167 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-05-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 Zooming Innovation in Consumer Technologies Conference (ZINC)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ZINC52049.2021.9499293","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

With the technological advancements in the automotive industry, the need for more electronic components has increased as well as for the appropriate software, that is, appropriate drivers. The development of such software is usually based on the AUTOSAR standard, while the required electronics use embedded computer systems. Considering that the embedded computer systems have limited resources, the software needs to be optimized. In this paper, the program memory of the considered software was optimized. The optimization was done using the following methods: introduction of generic functions, extraction of repetitive functions in the header files and dead code elimination. The optimization methods were applied by changing a code fragment written in C programming language. In that way, the program memory optimization method could be applied to all software components (SWCs) using Test Environment Generator (TEG). Afterward, the program code testing was done on a testing board. The results of the testing on board prove the functionality of the optimized program code. The applied methods optimized the memory usage (6.16% reduction) and preserved the functionality of the program code to an appropriate extent.
AUTOSAR RTE自动生成测试的程序内存优化
随着汽车工业的技术进步,对更多电子元件的需求增加了,对合适的软件,即合适的驱动程序的需求也增加了。此类软件的开发通常基于AUTOSAR标准,而所需的电子设备使用嵌入式计算机系统。考虑到嵌入式计算机系统资源有限,需要对软件进行优化。本文对所考虑的软件的程序内存进行了优化。优化是通过以下方法完成的:引入泛型函数,提取头文件中的重复函数和消除死代码。通过改变用C语言编写的代码片段,应用了优化方法。通过这种方式,程序内存优化方法可以应用于使用测试环境生成器(TEG)的所有软件组件(swc)。之后,程序代码测试在测试板上完成。机载测试结果证明了优化后的程序代码的功能性。应用的方法优化了内存使用(减少了6.16%),并在适当程度上保留了程序代码的功能。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
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学术文献互助群
群 号:481959085
Book学术官方微信