qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PULL 19/32] monitor: Remove left-over code in do_info_prof


From: Luiz Capitulino
Subject: [Qemu-devel] [PULL 19/32] monitor: Remove left-over code in do_info_profile.
Date: Mon, 3 Mar 2014 12:12:10 -0500

From: Hani Benhabiles <address@hidden>

This is a left-over from 4a1418e.

Signed-off-by: Hani Benhabiles <address@hidden>
Signed-off-by: Luiz Capitulino <address@hidden>
---
 monitor.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/monitor.c b/monitor.c
index aebcbd8..3863d83 100644
--- a/monitor.c
+++ b/monitor.c
@@ -2021,10 +2021,6 @@ int64_t dev_time;
 
 static void do_info_profile(Monitor *mon, const QDict *qdict)
 {
-    int64_t total;
-    total = qemu_time;
-    if (total == 0)
-        total = 1;
     monitor_printf(mon, "async time  %" PRId64 " (%0.3f)\n",
                    dev_time, dev_time / (double)get_ticks_per_sec());
     monitor_printf(mon, "qemu time   %" PRId64 " (%0.3f)\n",
-- 
1.8.1.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]