Am 27.08.2015 um 22:53 schrieb Philippe Waroquiers:
> E.g. I think that stop instrumentation implies to flush the translation
> cache. But the currently executed block will not be really flushed till
> the block is exited.

To my understanding, every client request forces a block to end. It is fine
to flush the translation cache in a client request handler as we are not
running within the context of a translated block anymore.

> So, what is measured is not very clear, maybe/probably measuring
> a part of the TOGGLE call. At least, when using --dump-instr=yes
> and then using kcachegrind, the executed instructions are associated
> with the TOGGLE macro.

Good to know.
The same should happen with START/STOP_INSTRUMENTATION macros?

Josef

------------------------------------------------------------------------------
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to