Fix time counter calculation.
Merge branch 'dvfs' into cs246
Change ubench return value.