aboutsummaryrefslogtreecommitdiff
path: root/tcg
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2009-02-11 19:47:39 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2009-02-11 19:47:39 +0000
commit9c22bc63129720e0c1fe6e910b0425923c123a31 (patch)
tree07f8475804b421a3408053afbc632988dca66914 /tcg
parent095271d4eaf96129e9c08c3c5b7eace20527ac9a (diff)
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 <laurent.desnogues@gmail.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6614 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'tcg')
-rw-r--r--tcg/tcg.c2
-rw-r--r--tcg/tcg.h1
2 files changed, 0 insertions, 3 deletions
diff --git a/tcg/tcg.c b/tcg/tcg.c
index 5e84a7f50f..e5508507e2 100644
--- a/tcg/tcg.c
+++ b/tcg/tcg.c
@@ -2038,8 +2038,6 @@ void tcg_dump_info(FILE *f,
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);
diff --git a/tcg/tcg.h b/tcg/tcg.h
index 03115e25b6..622c0c52d5 100644
--- a/tcg/tcg.h
+++ b/tcg/tcg.h
@@ -272,7 +272,6 @@ struct TCGContext {
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;