- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I can determine the external clock speed of the CPU using WMI (which helps), but I cannot determine the multiplier.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
On a Core 2 Duo, you can time a few brief operations using RDTSC, then take the greatest common divisor of the times.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Another engineer told us:
Well, there exist some techniques, but its kind of messy and varies with processor generations.
Depending what you want to determine which piece of data in the equation
CPU core frequency = Core_to_bus ratio * Bus_Scalable_Freq.
There are model-specific registers (MSR) that documents a three-bit field that encodes the Bus_Scalable_Freq. However, this encoding varies with each processor generation (for processor later than 2000), and that reading MSR requires ring 0 (privilege) services.
==
Lexi S.
IntelSoftware NetworkSupport
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The simplest way to determine multiplier is to read it from the MSR. However, that requires kernel mode driver. There are some open-source kernel drivers written with that purpose in mind, however, they won't work for 64-bit operating systems (XP x64, Vista x64) because they need to have valid digital signature in order for the OS to load them. Unfortunately that signature costs a lot of money if you are an independent developer.
Basically, you have two options, licence an SDK and use already finished library and driver, or pay for code signing and write your own. Considering that SDK may contain other usefull features such as reading the clockgen chip to determine actual FSB frequency and support for SMBus/PCI/PCI-Express scanning it may be a better choice in the long run because supporting such a diverse set of hardware in your own driver can be a tedious job.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks a lot .... your post is really helpful.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page