mirror of https://github.com/xqemu/xqemu.git
Fix CONFIG_PROFILER
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
0484362698
commit
871e6c3507
|
@ -1866,7 +1866,7 @@ static int tcg_reg_alloc_call(TCGContext *s, const TCGOpDef *def,
|
||||||
|
|
||||||
static int64_t tcg_table_op_count[NB_OPS];
|
static int64_t tcg_table_op_count[NB_OPS];
|
||||||
|
|
||||||
void dump_op_count(void)
|
static void dump_op_count(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
FILE *f;
|
FILE *f;
|
||||||
|
@ -2074,10 +2074,8 @@ void tcg_dump_info(FILE *f,
|
||||||
s->restore_count);
|
s->restore_count);
|
||||||
cpu_fprintf(f, " avg cycles %0.1f\n",
|
cpu_fprintf(f, " avg cycles %0.1f\n",
|
||||||
s->restore_count ? (double)s->restore_time / s->restore_count : 0);
|
s->restore_count ? (double)s->restore_time / s->restore_count : 0);
|
||||||
{
|
|
||||||
extern void dump_op_count(void);
|
dump_op_count();
|
||||||
dump_op_count();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
void tcg_dump_info(FILE *f,
|
void tcg_dump_info(FILE *f,
|
||||||
|
|
Loading…
Reference in New Issue