RE: [Qemu-devel] Counting Instructions and Looking for ConditionalBranches

2007-02-20 Thread Torbjorn.K.Andersson
EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Shane Brennan Sent: den 20 februari 2007 02:35 To: Andersson Torbjorn Subject: RE: [Qemu-devel] Counting Instructions and Looking for ConditionalBranches Hi Torbjorn, Thank you fo

RE: [Qemu-devel] Counting Instructions and Looking for ConditionalBranches

2007-02-19 Thread Torbjorn.K.Andersson
Hello Shane. I have successfully added instruction counters to QEMU with a low run-time overhead. I cannot give you the code but I can tell you how I did it. 1: Make sure that QEMU knows which block is the current_tb. What I did was to update the goto_tb block to update the current_tb pointer