Re: [Qemu-devel] [PATCH 0/7] remove useless muldiv64()

2015-08-25 Thread Paolo Bonzini
> Originally, timers were ticks based, and it made sense to > add ticks to current time to know when to trigger an alarm. > > But since commit: > > 7447545 change all other clock references to use nanosecond resolution > accessors > > All timers use nanoseconds and we need to convert ticks to na

[Qemu-devel] [PATCH 0/7] remove useless muldiv64()

2015-08-25 Thread Laurent Vivier
Originally, timers were ticks based, and it made sense to add ticks to current time to know when to trigger an alarm. But since commit: 7447545 change all other clock references to use nanosecond resolution accessors All timers use nanoseconds and we need to convert ticks to nanoseconds, by doin