qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [6614] TCG: remove obsolete old_op_count profiler field


From: Blue Swirl
Subject: [Qemu-devel] [6614] TCG: remove obsolete old_op_count profiler field
Date: Wed, 11 Feb 2009 19:47:40 +0000

Revision: 6614
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6614
Author:   blueswir1
Date:     2009-02-11 19:47:39 +0000 (Wed, 11 Feb 2009)

Log Message:
-----------
TCG: remove obsolete old_op_count profiler field

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

Signed-off-by: Laurent Desnogues <address@hidden>

Modified Paths:
--------------
    trunk/tcg/tcg.c
    trunk/tcg/tcg.h

Modified: trunk/tcg/tcg.c
===================================================================
--- trunk/tcg/tcg.c     2009-02-11 18:54:02 UTC (rev 6613)
+++ trunk/tcg/tcg.c     2009-02-11 19:47:39 UTC (rev 6614)
@@ -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);

Modified: trunk/tcg/tcg.h
===================================================================
--- trunk/tcg/tcg.h     2009-02-11 18:54:02 UTC (rev 6613)
+++ trunk/tcg/tcg.h     2009-02-11 19:47:39 UTC (rev 6614)
@@ -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;






reply via email to

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