qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] monitor: Remove left-over code in do_info_profile.
@ 2014-02-26 22:09 Hani Benhabiles
  2014-02-28 18:50 ` Luiz Capitulino
  0 siblings, 1 reply; 2+ messages in thread
From: Hani Benhabiles @ 2014-02-26 22:09 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-trivial, lcapitulino

This is a left-over from 4a1418e.

Signed-off-by: Hani Benhabiles <hani@linux.com>
---
 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.3.2

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] [PATCH] monitor: Remove left-over code in do_info_profile.
  2014-02-26 22:09 [Qemu-devel] [PATCH] monitor: Remove left-over code in do_info_profile Hani Benhabiles
@ 2014-02-28 18:50 ` Luiz Capitulino
  0 siblings, 0 replies; 2+ messages in thread
From: Luiz Capitulino @ 2014-02-28 18:50 UTC (permalink / raw)
  To: Hani Benhabiles; +Cc: qemu-trivial, qemu-devel

On Wed, 26 Feb 2014 23:09:52 +0100
Hani Benhabiles <kroosec@gmail.com> wrote:

> This is a left-over from 4a1418e.
> 
> Signed-off-by: Hani Benhabiles <hani@linux.com>

Applied to the qmp branch, thanks.

> ---
>  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",

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-02-28 18:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-26 22:09 [Qemu-devel] [PATCH] monitor: Remove left-over code in do_info_profile Hani Benhabiles
2014-02-28 18:50 ` Luiz Capitulino

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).