Determing the frequency of the system bus
Posted: Tue Nov 19, 2002 12:00 am
Does anyone know a reliable way to calculate or measure the system bus clock frequency ?
It is relatively easy to calculate the processor speed by means of the TSC, and of course, this processor clock must be some multiple of the bus clock, but I can't figure out a good way to calculate either the multiplier or the clock freququency.
I did implement one succesful method utilising the APIC timer which runs at bus clock frequency, but unfortunately, with the exception of multiple CPU systems, most BIOSes seem to disable the APIC in hardware, which is irreversible without some open-heart motherboard maintenance - any ideas ?
It is relatively easy to calculate the processor speed by means of the TSC, and of course, this processor clock must be some multiple of the bus clock, but I can't figure out a good way to calculate either the multiplier or the clock freququency.
I did implement one succesful method utilising the APIC timer which runs at bus clock frequency, but unfortunately, with the exception of multiple CPU systems, most BIOSes seem to disable the APIC in hardware, which is irreversible without some open-heart motherboard maintenance - any ideas ?