How to Determine Clock Speed
Keywords: computer clock speed MHz megahertz
Question:
I'm trying to find a way to determine the clock speed of a computer from a batch
process. Know of ANY way to accomplish this?
Answer:
See the Cpu Extender function cCpuSpeed(int).
AddExtender("WWCPU34I.DLL")
e0 = cCpuSpeed(0)
Message("CPU Speed 0 (normalized clock freq) returns", e0)
e1 = cCpuSpeed(1)
Message("CPU Speed 1 (calculated freq) returns", e1)
e2 = cCpuSpeed(2)
Message("CPU Speed 2 (microseconds elapsed -- clock ticks) returns", e2)
e3 = cCpuSpeed(3)
Message("CPU Speed 3 (number of clock cycles) returns", e3)
Article ID: W13868
Filename: Get Clock Speed.txt