Forked from
cmucl / cmucl
Source project has a limited visibility.
-
emarsden authored
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.
emarsden authoreduses 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.