Date: Mon, 4 Apr 2011 22:56:33 +0000 (UTC) From: Jung-uk Kim <jkim@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/i386/include cpu.h Message-ID: <201104062117.p36LHBun009351@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jkim 2011-04-04 22:56:33 UTC FreeBSD src repository Modified files: sys/i386/include cpu.h Log: SVN rev 220347 on 2011-04-04 22:56:33Z by jkim Use cpu_ticks() for get_cyclecount(9) rather than checking existence of TSC at run-time on i386. cpu_ticks() is set to use RDTSC early enough on i386 where it is available. Otherwise, cpu_ticks() is driven by the current timecounter hardware as binuptime(9) does. This also avoids unnecessary namespace pollution from <machine/cputypes.h>. Revision Changes Path 1.84 +1 -7 src/sys/i386/include/cpu.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201104062117.p36LHBun009351>