Performance driven instrumentation and mapping strategies using the LARA aspect oriented programming approach
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 (c) 2014 John Wiley Sons, Ltd.
Softw. Pract. Exp.