SimLatte: A framework to support testing for worst-case interrupt latencies in embedded software

Tingting Yu, Witawas Srisa-An, Myra B. Cohen, Gregg Rothermel

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

10 Scopus citations

Abstract

Embedded systems tend to be interrupt-driven, yet the presence of interrupts can affect system dependability because there can be delays in servicing interrupts. Such delays can occur when multiple interrupt service routines and interrupts of different priorities compete for resources on a given CPU. For this reason, researchers have sought approaches by which to estimate worst-case interrupt latencies (WCILs) for systems. Most existing approaches, however, are based on static analysis. In this paper, we present SIMLATTE, a testing-based approach for finding WCILs. SIMLATTE uses a genetic algorithm for test case generation that converges on a set of inputs and interrupt arrival points that are likely to expose WCILs. It also uses an opportunistic interrupt invocation approach to invoke interrupts at a variety of feasible locations. Our evaluation of SIMLATTE on several non-trivial embedded systems reveals that it is considerably more effective and efficient than random testing. We also determine that the combination of the genetic algorithm and opportunistic interrupt invocation allows SIMLATTE to perform better than it can when using either one in isolation.

Original languageEnglish
Title of host publicationProceedings - IEEE 7th International Conference on Software Testing, Verification and Validation, ICST 2014
Pages313-322
Number of pages10
DOIs
StatePublished - 2014
Event7th IEEE International Conference on Software Testing, Verification and Validation, ICST 2014 - Cleveland, OH, United States
Duration: Mar 31 2014Apr 4 2014

Publication series

NameProceedings - IEEE 7th International Conference on Software Testing, Verification and Validation, ICST 2014

Conference

Conference7th IEEE International Conference on Software Testing, Verification and Validation, ICST 2014
Country/TerritoryUnited States
CityCleveland, OH
Period3/31/144/4/14

Keywords

  • Embedded Software
  • Genetic Algorithm
  • Interrupt Latencies
  • Testing

ASJC Scopus subject areas

  • Software

Fingerprint

Dive into the research topics of 'SimLatte: A framework to support testing for worst-case interrupt latencies in embedded software'. Together they form a unique fingerprint.

Cite this