Premium
Performance‐driven instrumentation and mapping strategies using the LARA aspect‐oriented programming approach
Author(s) -
Cardoso João M. P.,
Coutinho José G. F.,
Carvalho Tiago,
Diniz Pedro C.,
Petrov Zlatko,
Luk Wayne,
Gonçalves Fernando
Publication year - 2016
Publication title -
software: practice and experience
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 0.437
H-Index - 70
eISSN - 1097-024X
pISSN - 0038-0644
DOI - 10.1002/spe.2301
Subject(s) - toolchain , compiler , computer science , aspect oriented programming , instrumentation (computer programming) , programming language , source code , software engineering , domain specific language , process (computing) , key (lock) , software , domain (mathematical analysis) , generic programming , compile time , operating system , mathematical analysis , mathematics
Summary The development of applications for high‐performance embedded systems is a long and error‐prone process because in addition to the required functionality, developers must consider various and often conflicting nonfunctional requirements such as performance and/or energy efficiency. The complexity of this process is further exacerbated by the multitude of target architectures and mapping tools. This article describes LARA, an aspect‐oriented programming language that allows programmers to convey domain‐specific knowledge and nonfunctional requirements to a toolchain composed of source‐to‐source transformers, compiler optimizers, and mapping/synthesis tools. LARA is sufficiently flexible to target different tools and host languages while also allowing the specification of compilation strategies to enable efficient generation of software code and hardware cores (using hardware description languages) for hybrid target architectures – a unique feature to the best of our knowledge not found in any other aspect‐oriented programming language. A key feature of LARA is its ability to deal with different models of join points, actions, and attributes. In this article, we describe the LARA approach and evaluate its impact on code instrumentation and analysis and on selecting critical code sections to be migrated to hardware accelerators for two embedded applications from industry. Copyright © 2014 John Wiley & Sons, Ltd.