Messages in this thread | | | Date | Sun, 8 Sep 1996 14:51:48 -0400 (EDT) | From | Jon Lewis <> | Subject | Re: signed int for interrupts?? |
| |
On Sun, 8 Sep 1996, Jon Lewis wrote:
> 5: 1649726484 + cyclades > 9: 12023652 53c8xx > 10: 231379880 3c509 > 11: -2104643917 + cyclades
Now I'm really confused. I did some looking, and found that the interrupt counters _are_ or at least appear to be unsigned int.
In kernel_stat.h: struct kernel_stat { ... unsigned int interrupts[NR_IRQS]; ... };
So why did my Irq 11 counter wrap at 2^31 rather than 2^32?
------------------------------------------------------------------ Jon Lewis <jlewis@fdt.net> | Unsolicited commercial e-mail will Network Administrator | be proof-read for $199/hr. ________Finger jlewis@inorganic5.fdt.net for PGP public key_______
| |