- 4.75.1.2 -
Standard Units
ZenTimer Unit
ZenTimer Unit Procedures and FunctionsCPU_getProcessorSpeed function
Targets: MS-DOS, OS/2, Win32
ZenTimer Unit
Returns the speed of the processor in Mhz.
Declaration:
function CPU_getProcessorSpeed: DWord;
Remarks:
This function returns the speed of the CPU in Mhz.
Note that if the speed cannot be determined,
this function will return 0.
Example:
{$ifndef __CON__}
This program must be compiled for MS-DOS,
OS/2 or Win32 console mode
{$endif}
uses
ZenTimer;
begin
Writeln('CPU speed is ', CPU_getProcessorSpeed,' Mhz');
end.
|
|
|
CPU_getCPUIdFeatures function |
Table of Content |
CPU_getProcessorType function |
- 4.75.1.2 -