A Runtime Profiler for Polymorphic Computing Platforms