Model-based WCET Analysis with Invariants

Authors

  • Bojan Nokovic McMaster University
  • Emil Sekerinski McMaster University

DOI:

https://doi.org/10.14279/tuj.eceasst.72.1026

Abstract

The integration of worst case execution time (WCET) analysis in model-based designs allows timing problems to be discovered in the early phases of development, when they are less expensive to correct than in later phases. In this paper, we show how model-based WCET analysis can improve timing calculations compared to program-based WCET analysis. The models are described by hierarchical state machines with concurrency, probabilistic transition, stochastic transitions, costs/rewards attached to states and transitions, and invariants attached to states. In these models, user-specified invariants serve to check the correctness of designs by restricting allowed state configurations. Our contribution is to use invariants additionally to determine transition combinations (paths) that can be eliminated from the WCET analysis, with the help of a decision procedure, thus making the analysis more precise. The assembly code of transitions for a specific target is generated and execution time for that code calculated. From the model, a probabilistic timed automaton (PTA) or Markov decision process (MDP) can be created. On that model, execution times of transitions are calculated as costs.

Downloads

Published

2015-11-25

How to Cite

[1]
B. Nokovic and E. Sekerinski, “Model-based WCET Analysis with Invariants”, eceasst, vol. 72, Nov. 2015.