DOS/32 Advanced DOS Extender - D32A C/C++ Run-Time Library Reference 2.13 - DOS/32 Advanced D32A Library function - d32a_get_cpu_speed() Synopsys: #include <d32a.h> int d32a_get_cpu_id(void); Description: This function determines the speed of the processor. Please note that this function will work on most types of CPU, independent of CPU brand and vendor. When measuring speed of the modern processors (Pentium) this function will use "Read Timestamp Counter" instruction, while on older processors it will fall back to the more common "IDIV" algorithm. To obtain the most precise results you should call this function several times, selecting the value which seems to be the most common. Returns: Returns the speed of the CPU in MHz. Copyright © DOS/32 Advanced Team 1996-2002 All Rights Reserved