@@ -160,7 +160,7 @@ def run_timedrift(test, params, env):
# Report results
host_delta_total = ht2 - ht0
guest_delta_total = gt2 - gt0
- drift_total = 100.0 * (host_delta_total - guest_delta_total) / host_delta
+ drift_total = 100.0 * (host_delta_total - guest_delta_total) / host_delta_total
logging.info("Total host duration including rest: %.2f" % host_delta_total)
logging.info("Total guest duration including rest: %.2f" % guest_delta_total)
logging.info("Total drift after rest: %.2f%%" % drift_total)