Real-Time and Embedded Computing Systems and Applications

Volume 2968 of the series Lecture Notes in Computer Science pp 466-485

Extracting Temporal Properties from Real-Time Systems by Automatic Tracing Analysis

  • Andrés TerrasaAffiliated withDepartamento de Sistemas Informáticos y Computación, Technical University of Valencia
  • , Guillem BernatAffiliated withReal-Time Systems Research Group, Department of Computer Science, University of York

* Final gross prices may vary according to local VAT.

Get Access


Statically analyzing real-time systems normally involves a high degree of pessimism, but it is necessary in systems requiring 100% guarantee. However, lots of less critical systems would significantly benefit from combining such static analysis with empirical tests. Empirical tests are based on observing the system at run time and extracting information about its temporal behavior. In this sense, this paper presents a generic and extensible framework that permits the extraction of temporal properties of real-time systems by analyzing their run-time traces. The analysis is based on event-recognition finite state machines that compute the temporal properties with a computational cost of O(1) per observed event in most of the cases. The framework is instantiated in order to extract some typical temporal properties (such as computation time or response time of tasks), which can serve as a template to define new ones. Finally, the paper also shows how the framework can be implemented on a real system, exclusively using state-of-the-art technology; in particular, the Trace and Real-Time Extensions of the POSIX standard.