Re: Question on /proc/interrupts

Paul Gortmaker (linux@rasty.ph.unimelb.edu.au)
Tue, 14 Apr 1998 11:43:19 +1000 (EST)


> On Mon, 13 Apr 1998, Meino Christian Cramer wrote:
>
> > Hi!
> >
> > Short question on /proc/interrupts.
> > 13: 1 XT PIC fpu
> >
> > ^^^^^^^
> > Assuming that this is a counter of interrupts happened so far, I am
> > wondering, why the counter for the fpu-interrupts still is "1", even
> > if I have done such heavy calculating stuff like rendering or raytracing
> > What happens here?
>
> The FPU interrupt happens upon an exception. Your programs probably didn't
> create any Infs, Nans, div/0, etc.
>
> To test, make a program that divides by zero, make sure that gcc
> doesn't optimize it so that execution never occurs, i.e., make
> your zero like:

Actually I think the count of one that appears on most boxes is a result
of the irq13 vs. exception 16 drag race that takes place at boot. For
more details look into the code where it prints "Checking 387 coupling"
or whatever.

Paul.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu