Skip to main content
Cornell University
We gratefully acknowledge support from the Simons Foundation, member institutions, and all contributors. Donate
arxiv logo > cs > arXiv:2102.03116

Help | Advanced Search

arXiv logo
Cornell University Logo

quick links

  • Login
  • Help Pages
  • About

Computer Science > Software Engineering

arXiv:2102.03116 (cs)
[Submitted on 5 Feb 2021 (v1), last revised 3 Nov 2021 (this version, v2)]

Title:Worst-Case Execution Time Calculation for Query-Based Monitors by Witness Generation

Authors:Márton Búr, Kristóf Marussy, Brett H. Meyer, Dániel Varró
View a PDF of the paper titled Worst-Case Execution Time Calculation for Query-Based Monitors by Witness Generation, by M\'arton B\'ur and Krist\'of Marussy and Brett H. Meyer and D\'aniel Varr\'o
View PDF
Abstract:Runtime monitoring plays a key role in the assurance of modern intelligent cyber-physical systems, which are frequently data-intensive and safety-critical. While graph queries can serve as an expressive yet formally precise specification language to capture the safety properties of interest, there are no timeliness guarantees for such auto-generated runtime monitoring programs, which prevents their use in a real-time setting. While worst-case execution time (WCET) bounds derived by existing static WCET estimation techniques are safe, they may not be tight as they are unable to exploit domain-specific (semantic) information about the input models. This paper presents a semantic-aware WCET analysis method for data-driven monitoring programs derived from graph queries. The method incorporates results obtained from low-level timing analysis into the objective function of a modern graph solver. This allows the systematic generation of input graph models up to a specified size (referred to as witness models) for which the monitor is expected to take the most time to complete. Hence the estimated execution time of the monitors on these graphs can be considered as safe and tight WCET. Additionally, we perform a set of experiments with query-based programs running on a real-time platform over a set of generated models to investigate the relationship between execution times and their estimates, and compare WCET estimates produced by our approach with results from two well-known timing analyzers, aiT and OTAWA.
Comments: 36 pages, 11 figures, submitted to ACM Transactions on Embedded Computing Systems (accepted version)
Subjects: Software Engineering (cs.SE)
ACM classes: C.3.3
Cite as: arXiv:2102.03116 [cs.SE]
  (or arXiv:2102.03116v2 [cs.SE] for this version)
  https://doi.org/10.48550/arXiv.2102.03116
arXiv-issued DOI via DataCite
Journal reference: ACM Transactions on Embedded Computing Systems, Volume 20, Issue 6, 2021 November
Related DOI: https://doi.org/10.1145/3471904
DOI(s) linking to related resources

Submission history

From: Márton Búr [view email]
[v1] Fri, 5 Feb 2021 11:42:17 UTC (436 KB)
[v2] Wed, 3 Nov 2021 15:11:49 UTC (423 KB)
Full-text links:

Access Paper:

    View a PDF of the paper titled Worst-Case Execution Time Calculation for Query-Based Monitors by Witness Generation, by M\'arton B\'ur and Krist\'of Marussy and Brett H. Meyer and D\'aniel Varr\'o
  • View PDF
  • TeX Source
  • Other Formats
license icon view license
Current browse context:
cs.SE
< prev   |   next >
new | recent | 2021-02
Change to browse by:
cs

References & Citations

  • NASA ADS
  • Google Scholar
  • Semantic Scholar

DBLP - CS Bibliography

listing | bibtex
Brett H. Meyer
Dániel Varró
a export BibTeX citation Loading...

BibTeX formatted citation

×
Data provided by:

Bookmark

BibSonomy logo Reddit logo

Bibliographic and Citation Tools

Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)

Code, Data and Media Associated with this Article

alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)

Demos

Replicate (What is Replicate?)
Hugging Face Spaces (What is Spaces?)
TXYZ.AI (What is TXYZ.AI?)

Recommenders and Search Tools

Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
  • Author
  • Venue
  • Institution
  • Topic

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)
  • About
  • Help
  • contact arXivClick here to contact arXiv Contact
  • subscribe to arXiv mailingsClick here to subscribe Subscribe
  • Copyright
  • Privacy Policy
  • Web Accessibility Assistance
  • arXiv Operational Status
    Get status notifications via email or slack