[repeat of reply to wrong email...]
vandersonmr writes:
> An uint64_t counter was added in the TranslationBlock struct and
> it is incremented every time that the TB is executed.
>
> Signed-off-by: vandersonmr
> ---
> accel/tcg/tcg-runtime.c | 6 ++
> accel/tcg/tcg-runtime.h | 2 ++
>
On 6/14/19 6:53 AM, vandersonmr wrote:
> +void HELPER(inc_exec_freq)(void *ptr)
> +{
> +TranslationBlock* tb = (TranslationBlock*) ptr;
> +atomic_inc(&tb->exec_freq);
> +}
...
> +DEF_HELPER_FLAGS_1(inc_exec_freq, TCG_CALL_NO_RWG, void, ptr)
...
> uint32_t flags; /* flags defining in wh
An uint64_t counter was added in the TranslationBlock struct and
it is incremented every time that the TB is executed.
Signed-off-by: vandersonmr
---
accel/tcg/tcg-runtime.c | 6 ++
accel/tcg/tcg-runtime.h | 2 ++
include/exec/exec-all.h | 1 +
include/exec/gen-icount.h | 7 +++
li