[Top] [All Lists]

Re: FP exception statistics

To: Atsushi Nemoto <>
Subject: Re: FP exception statistics
From: Ralf Baechle <>
Date: Wed, 21 Nov 2001 19:25:30 +1100
In-reply-to: <>; from on Wed, Nov 21, 2001 at 04:03:47PM +0900
References: <>
User-agent: Mutt/1.2.5i
On Wed, Nov 21, 2001 at 04:03:47PM +0900, Atsushi Nemoto wrote:

> Sometimes I want to know what kind of (and how many times) FP
> exceptions occurred in run time.  Here is a patch to provide us these
> informations via /proc/cpuinfo.
> Any comments are welcome.  (This patch is not tested on SMP)

It get's atomicity wrong.  I suggest to make such statistics a per thread
thing.  That'll not only solve the SMP issues but also make sure processes
running in parallel won't influence the result.


<Prev in Thread] Current Thread [Next in Thread>