qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RFC PATCH v2 2/4] cadence_ttc: initial version of devi


From: Peter Crosthwaite
Subject: Re: [Qemu-devel] [RFC PATCH v2 2/4] cadence_ttc: initial version of device model
Date: Wed, 8 Feb 2012 17:27:07 +1000



2012/2/7 Paul Brook <address@hidden>
> Implemented cadence Triple Timer Counter (TCC)

It looks like you're implementing a periodic timer as sequence of chained
oneshot timers.  This is a bad idea.  In qemu interrupt latency may be high,
so you're likely to suffer from significant time skew.

Ok, I could implemented the wraparound event as a periodic timer and the match events are kicked off as seperate one-shot timers when the wrap around occurs? There would still be a small delay on match events, but it would get rid of the integration effect of lots of little delays (over many wrap arounds) add up to a significant skew.
 
Paul


reply via email to

[Prev in Thread] Current Thread [Next in Thread]