Skip to main content
Log in

Linear Approximation of Execution-Time Constraints

  • Published:
Formal Aspects of Computing

Abstract.

This paper defines an algorithm for predicting worst-case and best-case execution times, and determining execution-time constraints of control-flow paths through real-time programs using their partial correctness semantics. The algorithm produces a linear approximation of path traversal conditions, worst-case and best-case execution times and strongest postconditions for timed paths in abstract real-time programs. Also shown are techniques for determining the set of control-flow paths with decidable worst-case and best-case execution times. The approach is based on a weakest liberal precondition semantics and relies on supremum and infimum calculations similar to standard computations from linear programming and Presburger arithmetic. The methodology is applicable to any executable language with a predicate transformer semantics and hence provides a verification basis for both high-level language and assembly code execution-time analysis.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Colin J. Fidge.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Lermer, K., Fidge, C. & Hayes, I. Linear Approximation of Execution-Time Constraints. Formal Aspects of Computing 15, 319–348 (2003). https://doi.org/10.1007/s00165-003-0019-0

Download citation

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00165-003-0019-0

Keywords

Navigation