实时嵌入式系统C/C++代码性能优化方法综述  被引量:2

C/C++Code Performance Optimization Techniques for Real-time Embedded System

在线阅读下载全文

作  者:张毅杰 Zhang Yijie(Zhejiang Branch,Nokia Solutions and Networks System Technology(Beijing)Co.,Ltd.,Hangzhou 310053,China)

机构地区:[1]诺基亚通信系统技术(北京)有限公司浙江分公司,杭州310053

出  处:《单片机与嵌入式系统应用》2021年第10期18-21,共4页Microcontrollers & Embedded Systems

摘  要:实时嵌入式系统不仅对运算结果的正确性有要求,而且对产生结果所需要的时间也有要求,即要求在一定的时间内产生运算结果。本文详细介绍了优化C/C++代码性能的方法,包括如何利用软件流水进行优化、如何优化循环、如何优化控制代码等,并通过在实际硬件上的对比测试,验证了优化前后代码性能的提升。The real-time embedded system not only requires the correctness of the operation results,but also requires the time required to produce the results,it is required to produce the operation results within a certain time.This article illustrates the techniques used to optimize C++C/C++code performance,including how to make use of software pipeline for optimization,how to optimize loops,how to optimize control code,etc.Some comparison test results on the real hardwares show the performance improvement between before and after applying the optimization techniques.

关 键 词:C/C++代码性能优化 软件流水 TMS320C66x Cortex A53 

分 类 号:TP311.1[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象