A Compiler Cooperative DVFS Technique based on Statistical Learning