Power optimization of variable voltage core-based systems