Date: Wed, 28 Mar 2007 12:57:24 +0100 From: "Rui Paulo" <rpaulo@fnop.net> To: freebsd-i386@freebsd.org Subject: Timecounting issue Message-ID: <e1309ba60703280457v394e7263x17f0e93512d11ad4@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi, I have a machine only knows to count time if I'm using TSC. For example: # sysctl kern.timecounter.hardware=ACPI-fast && time sleep 1 && sysctl kern.timecounter.hardware=i8254 && time sleep 1 && sysctl kern.timecounter.hardware=HPET && time sleep 1 && sysctl kern.timecounter.hardware=TSC && time sleep 1 Gives: kern.timecounter.hardware: HPET -> ACPI-fast sleep 1 0.00s user 0.00s system 0% cpu 1.517 total kern.timecounter.hardware: ACPI-fast -> i8254 sleep 1 0.00s user 0.00s system 0% cpu 1.516 total kern.timecounter.hardware: i8254 -> HPET sleep 1 0.00s user 0.00s system 0% cpu 1.516 total kern.timecounter.hardware: HPET -> TSC sleep 1 0.00s user 0.00s system 0% cpu 1.006 total This happens if I enable SMP or not. Any hint on how to debug this ? Thanks
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e1309ba60703280457v394e7263x17f0e93512d11ad4>