An MDE Approach for the Design of Platform-Aware Controls in Performance-Sensitive Applications