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
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
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