On Fri, Oct 14, 2011 at 1:24 PM, sparsh mittal <[email protected]>wrote:
> Hello > > This refers to Avadh's reply, "QEMU has a counter that counts how many > instructions are emulated". Can you tell which variable it is? I tried to > find in cpus.h, cpu-exec. etc., but could not find that. Is it qemu_icount? > 'icount_decr' is the variable that holds the counter for each CPU Context. The interesting thing is they decrements this counter after each basic block count. The global variable used is 'qemu_icount' which is used to keep track of how many instructions have executed. I still am in process of understanding how QEMU maintains this counter. - Avadh Thanks and Regards > Sparsh Mittal > > > > _______________________________________________ > http://www.marss86.org > Marss86-Devel mailing list > [email protected] > https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel > >
_______________________________________________ http://www.marss86.org Marss86-Devel mailing list [email protected] https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel
