diff options
author | jkim <jkim@FreeBSD.org> | 2011-04-04 22:56:33 +0000 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2011-04-04 22:56:33 +0000 |
commit | 9ce8e5e965cc84f57a07513a707a7ba96fdb681f (patch) | |
tree | 3ad6a4ee77851aac3d1fc8796012417290a3a95a /usr.sbin/bsdinstall | |
parent | 2e9f511b648b1cd69a91d18c1a31a669ce996699 (diff) | |
download | FreeBSD-src-9ce8e5e965cc84f57a07513a707a7ba96fdb681f.zip FreeBSD-src-9ce8e5e965cc84f57a07513a707a7ba96fdb681f.tar.gz |
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>.
Diffstat (limited to 'usr.sbin/bsdinstall')
0 files changed, 0 insertions, 0 deletions