> You haven't pushed your system, or run it in a hostile
> environment then. There are many places where systems are run
> right up to the edge of thermal breakdown, and it's a firm
> requirement to know exactly what that edge is.
> > If a CPU runs fine at, say, 37 degrees C, I do not belive it
> > will have any problems running at 38 or 36 degrees. I support
> > the ideea of having very good sensors for temperature
> > monitoring, but CPU and motherboard temperature do not depend
> > on the rise of the temperature of 1 degree, but when the
> > temperature rises 10 or more degrees. I hope you understand
> > what I want to say.
> I have a CPU that runs great up to 43C, and shuts down hard at 44C
> so I obviously want to know how close I am to that. I don't want
> rounding errors to get in the way, and I don't want changes
> between kernel revs to affect it either.
If the rounding errors are less than the accuracy and the
reproducibility of your sensor, and you operate in that range and
depend on those values, then you have no clue where you are, no
matter what your granularity. You sound like the classic example
of why we should NOT do this. You are foolish enough to depend on
that precision and think that it's accuracy and think that it means
something in comparision to the identical measurement 15 minutes later.
It does not.
> If we've got the bitspace, keep the counters as granular as
> possible within the useable range that we're designing for.
> counter = .01 * degrees kelvin
Then you are being foolish.
Your sensors are neither accurate to that degree nor are they
reproducible to that degree. What you are describing is jibberish.
Mike
-- Michael H. Warfield | (770) 985-6132 | mhw@WittsEnd.com (The Mad Wizard) | (678) 463-0932 | http://www.wittsend.com/mhw/ NIC whois: MHW9 | An optimist believes we live in the best of all PGP Key: 0xDF1DD471 | possible worlds. A pessimist is sure of it!- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/