License: Creative Commons Attribution 3.0 Unported license (CC BY 3.0)
When quoting this document, please refer to the following
DOI: 10.4230/OASIcs.WCET.2019.3
URN: urn:nbn:de:0030-drops-107682
Go to the corresponding OASIcs Volume Portal

Giesen, Jeremy ; Mezzetti, Enrico ; Abella, Jaume ; Fernández, Enrique ; Cazorla, Francisco J.

ePAPI: Performance Application Programming Interface for Embedded Platforms

OASIcs-WCET-2019-3.pdf (0.5 MB)


Performance Monitoring Counters (PMCs) have been traditionally used in the mainstream computing domain to perform debugging and optimization of software performance. PMCs are increasingly considered in embedded time-critical domains to collect in-depth information, e.g. cache misses and memory accesses, of software execution time on complex multicore platforms. In main-stream platforms, standardized specifications and applications like the Performance Application Programming Interface (PAPI) and perf have been proposed to deal with variable PMC support across platforms, by providing a shared interface for configuring and collecting traceable events. However, no equivalent solution exists for embedded critical processors for which the user is required to deal with low-level, platform-specific, and error-prone manipulation of PMC registers. In this paper, we address the need for a standardized PMC interface in the embedded domain, especially in view to support timing characterization of embedded platforms. We assess the compatibility of the PAPI interface with the PMC support available on the AURIX TC297, a reference automotive platform, and we implement and validate ePAPI, the first functionally-equivalent and low-overhead implementation of PAPI for the considered embedded platform.

BibTeX - Entry

  author =	{Jeremy Giesen and Enrico Mezzetti and Jaume Abella and Enrique Fern{\'a}ndez and Francisco J. Cazorla},
  title =	{{ePAPI: Performance Application Programming Interface for Embedded Platforms}},
  booktitle =	{19th International Workshop on Worst-Case Execution Time Analysis (WCET 2019)},
  pages =	{3:1--3:13},
  series =	{OpenAccess Series in Informatics (OASIcs)},
  ISBN =	{978-3-95977-118-4},
  ISSN =	{2190-6807},
  year =	{2019},
  volume =	{72},
  editor =	{Sebastian Altmeyer},
  publisher =	{Schloss Dagstuhl--Leibniz-Zentrum fuer Informatik},
  address =	{Dagstuhl, Germany},
  URL =		{},
  URN =		{urn:nbn:de:0030-drops-107682},
  doi =		{10.4230/OASIcs.WCET.2019.3},
  annote =	{Keywords: Monitoring counters, embedded systems}

Keywords: Monitoring counters, embedded systems
Collection: 19th International Workshop on Worst-Case Execution Time Analysis (WCET 2019)
Issue Date: 2019
Date of publication: 03.07.2019

DROPS-Home | Fulltext Search | Imprint | Privacy Published by LZI