A Formal Framework for Precise Parametric WCET Formulas
A Formal Framework for Precise Parametric WCET Formulas
复制标题
精确参数 WCET 公式的正式框架
DOI:
--
复制
发表时间:
2012
期刊:
影响因子:
--
通讯作者:
P. Puschner
中科院分区:
文献类型:
--
作者:
Benedikt Huber;Daniel Prokesch;P. Puschner
Parametric worst-case execution time (WCET) formulas are a valuable tool to estimate the impact of input data properties on the WCET at design time, or to guide scheduling decisions at runtime. Previous approaches to parametric WCET analysis either provide only informal ad-hoc solutions or tend to be rather pessimistic, as they do not take flow constraints other than simple loop bounds into account. We develop a formal framework around path- and frequency expressions, which allow us to reason about execution frequencies of program parts. Starting from a reducible control flow graph and a set of (parametric) constraints, we show how to obtain frequency expressions and refine them by means of sound approximations, which account for
more sophisticated flow constraints. Finally, we obtain closed-form parametric WCET formulas by means of partial evaluation. We developed a prototype, implementing our solution to parametric WCET analysis, and compared existing approaches within our setting. As our framework
supports fine-grained transformations to improve the precision of parametric formulas, it allows to focus on important flow relations in order to avoid intractably large formulas.