Towards Automated Generation of Time-Predictable Code
Towards Automated Generation of Time-Predictable Code
复制标题
迈向自动生成时间可预测的代码
DOI:
--
复制
发表时间:
2014
期刊:
影响因子:
--
通讯作者:
P. Puschner
中科院分区:
文献类型:
--
作者:
Daniel Prokesch;Benedikt Huber;P. Puschner
Knowledge of the worst-case execution time of software components is essential in safety-critical hard real-time systems. The analysis thereof is not trivial as the execution time depends on many factors, including the underlying hardware platform, the program structure, and the code produced by the compiler. Often, the execution time is variable and highly sensitive to the input data the program has to process. This paper presents a code transformation applicable in a compiler backend that produces time-predictable code. The resulting code contains a single input-data independent execution path, in order to obtain programs of stable timing behaviour. The transformation technique has been validated by applying it on a number of benchmarks. Experiments show a reduction of execution time variability, at acceptable costs for the single execution path.