Integrated timing analysis of application and operating systems code

Lee Kee Chong, Clement Ballabriga, Van-Thuan Pham, Sudipta Chattopadhyay, Abhik Roychoudhury

Research output: Chapter in Book/Report/Conference proceedingConference PaperResearchpeer-review

8 Citations (Scopus)

Abstract

Real-time embedded software often runs on a supervisory operating system software layer on top of a modern processor. Thus, to give timing guarantees on the execution time and response time of such applications, one needs to consider the timing effects of the operating system, such as system calls and interrupts - over and above modeling the timing effects of micro-architectural features such as pipeline and cache. Previous works on Worst-case Execution Time (WCET) analysis have focused on micro-architectural modeling while ignoring the operating system's timing effects. As a result, WCET analyzers only estimate the maximum un-interrupted execution time of a program. In this work, we present a framework for RTOS aware WCET analysis - where the timing effects of system calls and interrupts can be accounted for. The key observation behind our analysis is to capture the timing effects of system calls and/or interrupts, as well as their effect on the micro-architectural states, compositionally via a damage function. This damage function is then composed in a controlled fashion to result in a RTOS-aware, micro-architecture-aware timing analysis of an application. We show the use of our analysis to compute the worst-case response time for a real-life robot controller software which runs several tasks such as balancing and/or navigation on top of a real-time operating system running on a modern processor.

Original languageEnglish
Title of host publicationProceedings - IEEE 34th Real-Time Systems Symposium, RTSS 2013
Place of PublicationPiscataway NJ USA
PublisherIEEE, Institute of Electrical and Electronics Engineers
Pages128-139
Number of pages12
ISBN (Print)9781479920075
DOIs
Publication statusPublished - 2013
Externally publishedYes
EventIEEE 34th Real-Time Systems Symposium, RTSS 2013 - Vancouver, BC, Canada
Duration: 3 Dec 20136 Dec 2013

Conference

ConferenceIEEE 34th Real-Time Systems Symposium, RTSS 2013
Country/TerritoryCanada
CityVancouver, BC
Period3/12/136/12/13

Keywords

  • CRPD analysis
  • Timing analysis of system calls
  • WCET analysis

Cite this