All of lore.kernel.org
 help / color / mirror / Atom feed
From: Uri Lublin <uril@redhat.com>
To: autotest@test.kernel.org, kvm@vger.kernel.org
Cc: lmr@redhat.com
Subject: [PATCH AUTOTEST] kvm: timedrift test: fix typo (host_delta_t)
Date: Wed,  3 Feb 2010 15:27:39 +0200	[thread overview]
Message-ID: <1265203659-30210-1-git-send-email-uril@redhat.com> (raw)

Signed-off-by: Uri Lublin <uril@redhat.com>
---
 client/tests/kvm/tests/timedrift.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/client/tests/kvm/tests/timedrift.py b/client/tests/kvm/tests/timedrift.py
index b3e8770..06f6a70 100644
--- a/client/tests/kvm/tests/timedrift.py
+++ b/client/tests/kvm/tests/timedrift.py
@@ -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)
-- 
1.6.6


             reply	other threads:[~2010-02-03 13:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-03 13:27 Uri Lublin [this message]
     [not found] <708754168.731111265207954850.JavaMail.root@zmail05.collab.prod.int.phx2.redhat.com>
2010-02-03 14:47 ` [PATCH AUTOTEST] kvm: timedrift test: fix typo (host_delta_t) Michael Goldish
2010-02-04 21:38   ` Uri Lublin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1265203659-30210-1-git-send-email-uril@redhat.com \
    --to=uril@redhat.com \
    --cc=autotest@test.kernel.org \
    --cc=kvm@vger.kernel.org \
    --cc=lmr@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.