Skip to content
Snippets Groups Projects
Forked from cmucl / cmucl
Source project has a limited visibility.
  • emarsden's avatar
    fe40afd6
    Add support for hardware cycle counters for Pentium and UltraSPARC. This · fe40afd6
    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.
    fe40afd6
    History
    Add support for hardware cycle counters for Pentium and UltraSPARC. This
    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.