Date: Tue, 22 Jan 2008 15:39:52 +0100 From: Joerg Sonnenberger <joerg@britannica.bec.de> To: freebsd-hackers@freebsd.org Subject: Re: gettimeofday() in hping Message-ID: <20080122143952.GA18194@britannica.bec.de> In-Reply-To: <86lk6i0vzk.fsf@ds4.des.no> References: <4795CC13.7080601@moneybookers.com> <868x2i3v8d.fsf@ds4.des.no> <864pd63v2h.fsf@ds4.des.no> <4795FE54.9090606@moneybookers.com> <86lk6i0vzk.fsf@ds4.des.no>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jan 22, 2008 at 03:34:55PM +0100, Dag-Erling Sm?rgrav wrote: > More modern machines have an HPET timer which is supposedly faster than > ACPI yet more reliable than TSC. For NetBSD on AMD64 on a 1.2GHz Core2: ACPI ~2400 cycles HPET ~1500 cycles TSC ~800 cycles clockinterrupt ~600 cycles Those are from memory, give or take 10%. This is for the gettimeofday system call. Joerg
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080122143952.GA18194>