So we can see results faster
Signed-off-by: Avi Kivity <[email protected]>
---
kvm/kvm_stat | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/kvm/kvm_stat b/kvm/kvm_stat
index e68ca4e..b031d48 100755
--- a/kvm/kvm_stat
+++ b/kvm/kvm_stat
@@ -325,9 +325,11 @@ def tui(screen, stats):
row += 1
screen.refresh()
+ sleeptime = 0.25
while True:
refresh()
- curses.halfdelay(30)
+ curses.halfdelay(int(sleeptime * 10))
+ sleeptime = 3
try:
c = screen.getkey()
if c == 'q':
--
1.7.1
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html