OpenME Interface
simple event-based plugin interface to open up hardwired software
...For example, it is used to open up compilers (GCC, LLVM, Open64) for external tuning of optimization of internal heuristics, or to open up applications for online tuning and adaptation particularly on heterogeneous systems. It is based on successful Interactive Compilation Interface (ICI) which was added to mainline GCC >= 4.5. It supports C,C++,Fortran and Java. OpenME requires just one include file "openme.h" and 2 functions to register events or to have a call-back.
The usage of this interface is briefly described in an open access publication available at http://arxiv.org/abs/1308.2410