Energy-aware parallelization flow and toolset for C code