Tools and Stochastic Metrics for Debugging Temporal Behaviour of Real-Time Systems
Joaquín Entrialgo (University of Oviedo, Spain)
Javier García (University of Oviedo, Spain)
José Luis Díaz (University of Oviedo, Spain)
Daniel F. García (University of Oviedo, Spain)
Abstract: In real-time systems, temporal behaviour is as important as functional behaviour, so several techniques have been especially developed for these systems. Stochastic analysis techniques model the execution time of tasks as random variables and constitute a very powerful tool to study the temporal behaviour of real-time systems. However, as they can not avoid all the timing bugs in the implementation, they must be combined with measurement techniques in order to gain more confidence in the implemented system. This paper presents a monitoring tool which can measure real-time systems developed using POSIX. The corresponding analysis and a visualization tool that makes it possible to find errors easily is also introduced. In order to find bugs in the timing behaviour of the system when an stochastic analysis technique is used, two metrics, called "pessimism" and "optimism", are proposed. They are based on two random variables, the optimistic and the pessimistic execution time, which are also introduced in this paper. These metrics are used in the debugging tools to compare the model and the measured system in order to find errors. The metrics are examined in four case studies.
Keywords: debugging aids, monitors, real-time systems
Categories: C.3, D.2.4, D.2.5