Detecting CPU Speed: Difference between revisions
[unchecked revision] | [unchecked revision] |
Content deleted Content added
"What is CPU speed" |
m →Working Example Code: fixed a bug where the code did not run when TSC was detected ('jnz detect_end' should have been 'jz detect_end') |
||
Line 111:
cpuid
test edx,byte 0x10 ; test bit #4. Do we have TSC ?
;wait until the timer interrupt has been called.
mov ebx, ~[irq0_count]
|