qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] TCG: remove obsolete old_op_count profiler field
@ 2009-02-11  9:36 Laurent Desnogues
  2009-02-11 19:48 ` Blue Swirl
  0 siblings, 1 reply; 2+ messages in thread
From: Laurent Desnogues @ 2009-02-11  9:36 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 158 bytes --]

Hello,

since we don't generate any "old op" anymore, the old_op_count
is unneeded.


Laurent

Signed-off-by: Laurent Desnogues <laurent.desnogues@gmail.com>

[-- Attachment #2: tcg-old-op.patch --]
[-- Type: text/x-patch, Size: 1058 bytes --]

Index: tcg/tcg.c
===================================================================
--- tcg/tcg.c	(revision 6588)
+++ tcg/tcg.c	(working copy)
@@ -2038,8 +2038,6 @@
                 s->tb_count1 ? (double)(s->tb_count1 - s->tb_count) / s->tb_count1 * 100.0 : 0);
     cpu_fprintf(f, "avg ops/TB          %0.1f max=%d\n", 
                 s->tb_count ? (double)s->op_count / s->tb_count : 0, s->op_count_max);
-    cpu_fprintf(f, "old ops/total ops   %0.1f%%\n", 
-                s->op_count ? (double)s->old_op_count / s->op_count * 100.0 : 0);
     cpu_fprintf(f, "deleted ops/TB      %0.2f\n",
                 s->tb_count ? 
                 (double)s->del_op_count / s->tb_count : 0);
Index: tcg/tcg.h
===================================================================
--- tcg/tcg.h	(revision 6588)
+++ tcg/tcg.h	(working copy)
@@ -272,7 +272,6 @@
     int op_count_max; /* max insn per TB */
     int64_t temp_count;
     int temp_count_max;
-    int64_t old_op_count;
     int64_t del_op_count;
     int64_t code_in_len;
     int64_t code_out_len;

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

* Re: [Qemu-devel] [PATCH] TCG: remove obsolete old_op_count profiler field
  2009-02-11  9:36 [Qemu-devel] [PATCH] TCG: remove obsolete old_op_count profiler field Laurent Desnogues
@ 2009-02-11 19:48 ` Blue Swirl
  0 siblings, 0 replies; 2+ messages in thread
From: Blue Swirl @ 2009-02-11 19:48 UTC (permalink / raw)
  To: qemu-devel

On 2/11/09, Laurent Desnogues <laurent.desnogues@gmail.com> wrote:
> Hello,
>
>  since we don't generate any "old op" anymore, the old_op_count
>  is unneeded.

Thanks, applied.

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

end of thread, other threads:[~2009-02-11 19:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-11  9:36 [Qemu-devel] [PATCH] TCG: remove obsolete old_op_count profiler field Laurent Desnogues
2009-02-11 19:48 ` Blue Swirl

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).