Commit 9c22bc63129720e0c1fe6e910b0425923c123a31
1 parent
095271d4
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
Showing
2 changed files
with
0 additions
and
3 deletions
tcg/tcg.c
| @@ -2038,8 +2038,6 @@ void tcg_dump_info(FILE *f, | @@ -2038,8 +2038,6 @@ void tcg_dump_info(FILE *f, | ||
| 2038 | s->tb_count1 ? (double)(s->tb_count1 - s->tb_count) / s->tb_count1 * 100.0 : 0); | 2038 | s->tb_count1 ? (double)(s->tb_count1 - s->tb_count) / s->tb_count1 * 100.0 : 0); |
| 2039 | cpu_fprintf(f, "avg ops/TB %0.1f max=%d\n", | 2039 | cpu_fprintf(f, "avg ops/TB %0.1f max=%d\n", |
| 2040 | s->tb_count ? (double)s->op_count / s->tb_count : 0, s->op_count_max); | 2040 | s->tb_count ? (double)s->op_count / s->tb_count : 0, s->op_count_max); |
| 2041 | - cpu_fprintf(f, "old ops/total ops %0.1f%%\n", | ||
| 2042 | - s->op_count ? (double)s->old_op_count / s->op_count * 100.0 : 0); | ||
| 2043 | cpu_fprintf(f, "deleted ops/TB %0.2f\n", | 2041 | cpu_fprintf(f, "deleted ops/TB %0.2f\n", |
| 2044 | s->tb_count ? | 2042 | s->tb_count ? |
| 2045 | (double)s->del_op_count / s->tb_count : 0); | 2043 | (double)s->del_op_count / s->tb_count : 0); |
tcg/tcg.h
| @@ -272,7 +272,6 @@ struct TCGContext { | @@ -272,7 +272,6 @@ struct TCGContext { | ||
| 272 | int op_count_max; /* max insn per TB */ | 272 | int op_count_max; /* max insn per TB */ |
| 273 | int64_t temp_count; | 273 | int64_t temp_count; |
| 274 | int temp_count_max; | 274 | int temp_count_max; |
| 275 | - int64_t old_op_count; | ||
| 276 | int64_t del_op_count; | 275 | int64_t del_op_count; |
| 277 | int64_t code_in_len; | 276 | int64_t code_in_len; |
| 278 | int64_t code_out_len; | 277 | int64_t code_out_len; |