Code analysis for heterogeneous scheduling hints based on performance and power consumption