Message boards :
Number crunching :
Anyone have a good Intel/AMD Mhz figuring source code - Non windows specific?
Message board moderation
Author | Message |
---|---|
Benher Send message Joined: 25 Jul 99 Posts: 517 Credit: 465,152 RAC: 0 |
Anyone have a good Intel/AMD Mhz figuring source code - Non windows specific? I've got one that mostly works, but can be as much as 50Mhz off. It uses generic system timers (one for Win, another for linux/etc) and the CPU cycle counter... but because even the Windows microsecond timer really only tics every 1/64 of a second it looses accuracy. I've seen some that depend on specific x86 opcodes and how long they "should" take to complete...but as soon as intel or AMD releases a new CPU the code would have to be updated. |
Benher Send message Joined: 25 Jul 99 Posts: 517 Credit: 465,152 RAC: 0 |
[bump] |
Benher Send message Joined: 25 Jul 99 Posts: 517 Credit: 465,152 RAC: 0 |
[bump] |
©2024 University of California
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.