DVFS by Phase Detection