How to Compute Worst-Case Execution Time by Optimization Modulo Theory and a Clever Encoding of Program Semantics
Julien Henry (VERIMAG - IMAG), Mihail Asavoae (VERIMAG - IMAG), David, Monniaux (VERIMAG - IMAG), Claire Ma\"iza (VERIMAG - IMAG)

TL;DR
This paper presents a novel approach to compute tight worst-case execution time bounds for programs by formulating it as an optimization modulo theory problem, improving efficiency through clever encodings and cuts.
Contribution
It introduces an optimization modulo theory-based method with a clever encoding of program semantics to efficiently compute WCET bounds, surpassing traditional SMT-based approaches.
Findings
Significant reduction in computation time for WCET analysis.
Improved WCET bounds on various control programs.
Effective encoding techniques enhance SMT solver performance.
Abstract
In systems with hard real-time constraints, it is necessary to compute upper bounds on the worst-case execution time (WCET) of programs; the closer the bound to the real WCET, the better. This is especially the case of synchronous reactive control loops with a fixed clock; the WCET of the loop body must not exceed the clock period. We compute the WCET (or at least a close upper bound thereof) as the solution of an optimization modulo theory problem that takes into account the semantics of the program, in contrast to other methods that compute the longest path whether or not it is feasible according to these semantics. Optimization modulo theory extends satisfiability modulo theory (SMT) to maximization problems. Immediate encodings of WCET problems into SMT yield formulas intractable for all current production-grade solvers; this is inherent to the DPLL(T) approach to SMT implemented in…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsReal-Time Systems Scheduling · Formal Methods in Verification · Embedded Systems Design Techniques
