On 23 July 2015 at 08:57, Shlomo Pongratz <shlomopongr...@gmail.com> wrote:
> I have an array of the three address spaces user/unmapped/kernel and array
> of 4 els and I'm add the TB's icount to the appropriate entry according to
> the env->pc and arm_current_el(env) before the block execution.
> As I wrote before I disabled chaining so TB's icount is the number of
> executed instructions.

Note that this will overcount unless you also have code to handle the "took
an exception in the middle of the TB" case and reduce the instruction
count accordingly.

thanks
-- PMM

Reply via email to