[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [COMMIT 871e6c3] Fix CONFIG_PROFILER
From: |
Anthony Liguori |
Subject: |
[Qemu-commits] [COMMIT 871e6c3] Fix CONFIG_PROFILER |
Date: |
Tue, 21 Jul 2009 15:39:04 -0000 |
From: Blue Swirl <address@hidden>
Signed-off-by: Blue Swirl <address@hidden>
diff --git a/tcg/tcg.c b/tcg/tcg.c
index 4cb5934..0ba1b6a 100644
--- a/tcg/tcg.c
+++ b/tcg/tcg.c
@@ -1866,7 +1866,7 @@ static int tcg_reg_alloc_call(TCGContext *s, const
TCGOpDef *def,
static int64_t tcg_table_op_count[NB_OPS];
-void dump_op_count(void)
+static void dump_op_count(void)
{
int i;
FILE *f;
@@ -2074,10 +2074,8 @@ void tcg_dump_info(FILE *f,
s->restore_count);
cpu_fprintf(f, " avg cycles %0.1f\n",
s->restore_count ? (double)s->restore_time / s->restore_count
: 0);
- {
- extern void dump_op_count(void);
- dump_op_count();
- }
+
+ dump_op_count();
}
#else
void tcg_dump_info(FILE *f,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [COMMIT 871e6c3] Fix CONFIG_PROFILER,
Anthony Liguori <=