On 18 July 2013 16:02, <fred.kon...@greensocs.com> wrote: > @@ -156,6 +156,12 @@ void restore_icount(CPUArchState *env, int save) > /* Return the virtual CPU time, based on the instruction counter. */ > int64_t cpu_get_icount(void) > { > + return qemu_icount_bias + cpu_get_icount_wo_bias(); > +} > + > +/* Return the virtual CPU time, really based on the instruction counter. */ > +int64_t cpu_get_icount_wo_bias(void) > +{
The comments for these two functions don't make any sense. You need to explain what they're actually doing (and when you'd want one and when the other). -- PMM