linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* got problem with timer interrupt
@ 2010-01-18 15:28 wilbur.chan
  0 siblings, 0 replies; only message in thread
From: wilbur.chan @ 2010-01-18 15:28 UTC (permalink / raw)
  To: linuxppc-dev

A timer has been added into my system, and it  is used to generate
continuous interrupt every 1 ms.

This hw is register by request_irq(19, handler_1ms)

Howeve I found that , it is longer than 1 ms between two interrupts,
for I used get_cycles everytime we entered

do_irq :

  if(irq==19)
     {
        delta = get_cycle()-old;
     }

  but to find that delta is always larger than cpu cycles between 1ms.


Does anyone know why this happened?


regards,

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-01-18 15:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-18 15:28 got problem with timer interrupt wilbur.chan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).