Re: [PATCH v9 03/13] accel: collecting JIT statistics

2019-12-13 Thread Alex Bennée
Richard Henderson writes: > On 10/7/19 11:28 AM, Alex Bennée wrote: >> @@ -1795,6 +1799,10 @@ TranslationBlock *tb_gen_code(CPUState *cpu, >> if (flag & TB_EXEC_STATS) { >> tb->tb_stats->stats_enabled |= TB_EXEC_STATS; >> } >> + >> +if (flag & TB_JIT_STATS

Re: [PATCH v9 03/13] accel: collecting JIT statistics

2019-10-08 Thread Richard Henderson
On 10/7/19 11:28 AM, Alex Bennée wrote: > @@ -1795,6 +1799,10 @@ TranslationBlock *tb_gen_code(CPUState *cpu, > if (flag & TB_EXEC_STATS) { > tb->tb_stats->stats_enabled |= TB_EXEC_STATS; > } > + > +if (flag & TB_JIT_STATS) { > +tb->tb_stats->stats

[PATCH v9 03/13] accel: collecting JIT statistics

2019-10-07 Thread Alex Bennée
From: "Vanderson M. do Rosario" If a TB has a TBS (TBStatistics) with the TB_JIT_STATS enabled then we collect statistics of its translation processes and code translation. To help with collection we include the TCGProfile structure unconditionally. It will have further alterations in future com