From: Laurent Desnogues <laurent.desnogues@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH] TCG: remove obsolete old_op_count profiler field
Date: Wed, 11 Feb 2009 10:36:05 +0100 [thread overview]
Message-ID: <761ea48b0902110136r795b479erf494303d0b7fdd54@mail.gmail.com> (raw)
[-- 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;
next reply other threads:[~2009-02-11 9:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-11 9:36 Laurent Desnogues [this message]
2009-02-11 19:48 ` [Qemu-devel] [PATCH] TCG: remove obsolete old_op_count profiler field Blue Swirl
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=761ea48b0902110136r795b479erf494303d0b7fdd54@mail.gmail.com \
--to=laurent.desnogues@gmail.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).