Fix dvfs quantization issue.
Merge branch 'dvfs' into cs246