diff options
author | jkim <jkim@FreeBSD.org> | 2011-04-14 16:53:32 +0000 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2011-04-14 16:53:32 +0000 |
commit | 7d94642dc23686950f47b7e3a616efae4a14e819 (patch) | |
tree | d733579d318c88789438b5f4908d2d64a6052216 /sys/amd64/include/minidump.h | |
parent | 89ffb7531942ac0a6cf7fc42157ea50d958b95e3 (diff) | |
download | FreeBSD-src-7d94642dc23686950f47b7e3a616efae4a14e819.zip FreeBSD-src-7d94642dc23686950f47b7e3a616efae4a14e819.tar.gz |
Add a function rdtsc32() to read lower 32 bits from TSC and discard upper
32 bits. Some times compiler inserts unnecessary instructions to preserve
unused upper 32 bits even when it is casted to a 32-bit value. It reduces
such compiler mistakes where every cycle counts.
Diffstat (limited to 'sys/amd64/include/minidump.h')
0 files changed, 0 insertions, 0 deletions