From: Wolfgang Denk Date: Wed, 25 May 2011 10:08:37 +0200 Subject: [U-Boot] [RFC] Review of U-Boot timer API In-Reply-To: References: <4DD7B245.5000008@gmail.com> <201105240024.26511.vapier@gentoo.org> <4DDB42B1.2010206@emk-elektronik.de> <4DDBB29D.2050102@psyent.com> <20110524141950.2AB1CCF5DBF@gemini.denx.de> <4DDBE22D.6050806@gmail.com> <20110524191948.401CBCF5DBF@gemini.denx.de> <4DDC6F46.4090809@comcast.net> <20110525052836.11A30CF5DBF@gemini.denx.de> Message-ID: <20110525080837.5925BCF5DBF@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Graeme Russ, In message you wrote: > > With the prescaler design we are discussing, as long as we have access to > a free-running tick counter, it does not matter one iota if the interrupt > is delayed by one tick, a hundred ticks or a thousand ticks privided it > eventually happens within the roll-over interval of the tick counter I don't get you. In such a system, the interrupt would be the tick (see the PPC implementation). If you miss interrupts, you miss ticks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Real computer scientists don't comment their code. The identifiers are so long they can't afford the disk space.