Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/kern



perry%piermont.com@localhost wrote:

> Yes. It tells you how many Hz the clock source is supposed to be. The
> clock itself will certainly have some inaccuracy, but it tells you
> exactly what the spec is.

How is such Hz value taken?
i.e. doesn't the measuring method (i8254_delay()?) have inaccuracy?

>> timecounter: Timecounter "TSC" frequency 1300162690 Hz quality 800
>> timecounter: Timecounter "TSC" frequency 1300166200 Hz quality 800
>> timecounter: Timecounter "TSC" frequency 1300133700 Hz quality 800
>> timecounter: Timecounter "TSC" frequency 1300126680 Hz quality 800
>> timecounter: Timecounter "TSC" frequency 1300159180 Hz quality 800
>> timecounter: Timecounter "TSC" frequency 1300128370 Hz quality 800
>> timecounter: Timecounter "TSC" frequency 1300135390 Hz quality 800
>> timecounter: Timecounter "TSC" frequency 1300171530 Hz quality 800
>> timecounter: Timecounter "TSC" frequency 1300152420 Hz quality 800
>> timecounter: Timecounter "TSC" frequency 1300130320 Hz quality 800
>> timecounter: Timecounter "TSC" frequency 1300171140 Hz quality 800

IMHO, it's better to show/use only significant digits defined
by the quality (though I don't know how the quality is defined).
---
Izumi Tsutsui



Home | Main Index | Thread Index | Old Index