Self-tuning DVS processor implementation