Skip to content
Snippets Groups Projects
Commit fe40afd6 authored by emarsden's avatar emarsden
Browse files

Add support for hardware cycle counters for Pentium and UltraSPARC. This

uses the CPUID + RDTSC instructions on Pentium, and reads the %TICK register
on UltraSPARC. Accessible via the VM::READ-CYCLE-COUNTER VOP that returns
two (unsigned-byte 32) values, that are the lower and upper components of a
64-bit cycle count (actually 63 bits for UltraSPARC). Basic support for
counting the number of CPU cycles has been added to the TIME macro.
parent 9471b3ca
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment