[Qemu-devel] Timers speedup

2012-08-16 Thread Марк Коренберг
Hello. Please advice me how I can speed up all timers inside VM. I mean patch for qemu that will tick all timers, say, twice as faster. So I expect, that time in VM will go twice as fast, "sleep 1" command will last 0.5 real seconds, real time clocks will be twice as faster, TCP timeouts will be p

Re: [Qemu-devel] Timers

2007-05-24 Thread Paul Brook
> There were bugs in the previous version, this version passes my simple > tests. I implemented save and load methods. If the 64-bit code doesn't > break ARM, it's ready for commit. Works for me on arm. Paul

Re: [Qemu-devel] Timers

2007-05-24 Thread Blue Swirl
On 5/24/07, Paul Brook <[EMAIL PROTECTED]> wrote: > > Code looks reasonable to me. The FIXME means you're changing the timer > > parameters after starting the timer. I didn't check whether this does > > anything sensible (this may depend on the device), hence the message. > > It probably needs s

Re: [Qemu-devel] Timers

2007-05-23 Thread Paul Brook
> > Code looks reasonable to me. The FIXME means you're changing the timer > > parameters after starting the timer. I didn't check whether this does > > anything sensible (this may depend on the device), hence the message. > > It probably needs some attention when reload == 1 && s->enabled. > > >

Re: [Qemu-devel] Timers

2007-05-23 Thread andrzej zaborowski
On 23/05/07, Paul Brook <[EMAIL PROTECTED]> wrote: On Wednesday 23 May 2007, Blue Swirl wrote: > On 5/23/07, Paul Brook <[EMAIL PROTECTED]> wrote: > > On Wednesday 23 May 2007, Blue Swirl wrote: > > > On 5/23/07, Paul Brook <[EMAIL PROTECTED]> wrote: > > > > I get fed up of having to re-implement

Re: [Qemu-devel] Timers

2007-05-23 Thread Paul Brook
On Wednesday 23 May 2007, Blue Swirl wrote: > On 5/23/07, Paul Brook <[EMAIL PROTECTED]> wrote: > > On Wednesday 23 May 2007, Blue Swirl wrote: > > > On 5/23/07, Paul Brook <[EMAIL PROTECTED]> wrote: > > > > I get fed up of having to re-implement a simple countdown timer for > > > > every new board

Re: [Qemu-devel] Timers

2007-05-23 Thread Blue Swirl
On 5/23/07, Paul Brook <[EMAIL PROTECTED]> wrote: On Wednesday 23 May 2007, Blue Swirl wrote: > On 5/23/07, Paul Brook <[EMAIL PROTECTED]> wrote: > > I get fed up of having to re-implement a simple countdown timer for every > > new board, so I've added a simple periodic timer implementation to cv

Re: [Qemu-devel] Timers

2007-05-23 Thread Paul Brook
> > Nice idea! On Sparc the timer can be configured to work in 64-bit > > mode, so could the ptimer_get/set_count be changed to use 64-bit > > values? > > Perhaps the width could be made runtime configurable, e.g. 16, 24, 32, > 64-bits as required for a given system, since there are other targets >

Re: [Qemu-devel] Timers

2007-05-23 Thread George G. Davis
On Wed, May 23, 2007 at 08:00:24PM +0300, Blue Swirl wrote: > On 5/23/07, Paul Brook <[EMAIL PROTECTED]> wrote: > >I get fed up of having to re-implement a simple countdown timer for every > >new > >board, so I've added a simple periodic timer implementation to cvs > >(ptimer.c). Currently only th

Re: [Qemu-devel] Timers

2007-05-23 Thread Paul Brook
On Wednesday 23 May 2007, Blue Swirl wrote: > On 5/23/07, Paul Brook <[EMAIL PROTECTED]> wrote: > > I get fed up of having to re-implement a simple countdown timer for every > > new board, so I've added a simple periodic timer implementation to cvs > > (ptimer.c). Currently only the Arm PrimeCell b

Re: [Qemu-devel] Timers

2007-05-23 Thread Blue Swirl
On 5/23/07, Paul Brook <[EMAIL PROTECTED]> wrote: I get fed up of having to re-implement a simple countdown timer for every new board, so I've added a simple periodic timer implementation to cvs (ptimer.c). Currently only the Arm PrimeCell based boards use this, but I've a few other uses in the p

Re: [Qemu-devel] Timers

2007-05-22 Thread George G. Davis
On Wed, May 23, 2007 at 02:14:02AM +0100, Paul Brook wrote: > > .../qemu/hw/arm_timer.c:25: syntax error before "ptimer_state" > > .../qemu/hw/arm_timer.c:25: warning: no semicolon at end of struct or union > > > > Current CVS is missing definition for ptimer_state. > > Oops, sorry. Should be fixe

Re: [Qemu-devel] Timers

2007-05-22 Thread Paul Brook
> .../qemu/hw/arm_timer.c:25: syntax error before "ptimer_state" > .../qemu/hw/arm_timer.c:25: warning: no semicolon at end of struct or union > > Current CVS is missing definition for ptimer_state. Oops, sorry. Should be fixed now. Paul

Re: [Qemu-devel] Timers

2007-05-22 Thread George G. Davis
On Wed, May 23, 2007 at 01:06:59AM +0100, Paul Brook wrote: > I get fed up of having to re-implement a simple countdown timer for every new > board, so I've added a simple periodic timer implementation to cvs > (ptimer.c). Currently only the Arm PrimeCell based boards use this, but I've > a few

[Qemu-devel] Timers

2007-05-22 Thread Paul Brook
I get fed up of having to re-implement a simple countdown timer for every new board, so I've added a simple periodic timer implementation to cvs (ptimer.c). Currently only the Arm PrimeCell based boards use this, but I've a few other uses in the pipeline. Paul