🤖 AI Summary
Detecting timing constraint violations in real-time systems faces challenges of high runtime overhead and unreliable prediction under short observation windows. This paper proposes a lightweight hybrid approach that integrates low-overhead, runtime event tracing with semi-Markov chain (SMC) probabilistic modeling. System timestamped events are mapped to state transitions, and task execution time is directly characterized via the “absorption time” of the SMC—thereby reducing reliance on strong distributional assumptions. The method simultaneously captures both typical and extreme temporal behaviors within extremely short observation windows. Experimental evaluation on a real-time Linux platform demonstrates that it achieves high-accuracy worst-case execution time (WCET) estimation with less than 1% CPU overhead. The model exhibits strong interpretability and cross-layer analytical capability, significantly improving both the efficiency and practicality of timing verification.
📝 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.