From Tracepoints to Timeliness: A Semi-Markov Framework for Predictive Runtime Analysis
Abstract
Detecting and resolving violations of temporal constraints in real-time systems is both, time-consuming and resource-intensive, particularly in complex software environments. Measurement-based approaches are widely used during development, but often are unable to deliver reliable predictions with limited data. This paper presents a hybrid method for worst-case execution time estimation, combining lightweight runtime tracing with probabilistic modelling. Timestamped system events are used to construct a semi-Markov chain, where transitions represent empirically observed timing between events. Execution duration is interpreted as time-to-absorption in the semi-Markov chain, enabling worst-case execution time estimation with fewer assumptions and reduced overhead. Empirical results from real-time Linux systems indicate that the method captures both regular and extreme timing behaviours accurately, even from short observation periods. The model supports holistic, low-intrusion analysis across system layers and remains interpretable and adaptable for practical use.
Keywords
Cite
@article{arxiv.2507.22645,
title = {From Tracepoints to Timeliness: A Semi-Markov Framework for Predictive Runtime Analysis},
author = {Benno Bielmeier and Ralf Ramsauer and Takahiro Yoshida and Wolfgang Mauerer},
journal= {arXiv preprint arXiv:2507.22645},
year = {2025}
}
Comments
to appear in The 31st IEEE International Conference on Embedded and Real-Time Computing Systems and Applications (RTCSA 2025)