aboutsummaryrefslogtreecommitdiff
path: root/monitor.c
diff options
context:
space:
mode:
authorHani Benhabiles <kroosec@gmail.com>2014-02-26 23:09:52 +0100
committerLuiz Capitulino <lcapitulino@redhat.com>2014-02-28 13:49:42 -0500
commitde92f3f86adc73db1ee8d1eebdfcf3b59476495b (patch)
treedfb05edc3f631b87e983032edd2dc845b23ae3c1 /monitor.c
parentffe9fe3a25b93c045acc4d929056f8ea776a160a (diff)
downloadqemu-de92f3f86adc73db1ee8d1eebdfcf3b59476495b.zip
qemu-de92f3f86adc73db1ee8d1eebdfcf3b59476495b.tar.gz
qemu-de92f3f86adc73db1ee8d1eebdfcf3b59476495b.tar.bz2
monitor: Remove left-over code in do_info_profile.
This is a left-over from 4a1418e. Signed-off-by: Hani Benhabiles <hani@linux.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'monitor.c')
-rw-r--r--monitor.c4
1 files changed, 0 insertions, 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",