Page 1 of 1

usage on older CPUs

Posted: Wed Sep 29, 2010 7:36 am
by ChrisF14
Hi together,

my question does not 100% fit in the development nor in the usage forum, so I decided to try it here. Sorry, if another froum would be a better place.

M problem is: I am seeing strange effects with my software on some PCs. To investigate that, I would like to log the CPU-frequency over the runtime of the software.
I noticed changes in CPU-frequency of my notebook (Intel Core II) that were not visible with any other tools (task-manager, desktop-symbol,...) except with CoreTemp, so I like to make use of CoreTemp for that.

My problem now is: the system at one customer, who has problems with my software is a Pentium mobile - not supported by CoreTemp.

On the website I can find the missing temperature-sensor as only cause for older systems not being supported.
Is there a way to start CoreTemp on that system and to make it log only the things the CPU provides like the frequency?

If not - is it possible to use the DLL for that purpose and do the logging by myself? My software already has a powerful logging I could use for that.

If not - is there source code or at least a description avaliable, that I can use to read the CPU frequency by my own the same way, CoreTemp does?

Would be great, if this project could help me by any way.

TIA.
Regards,
Christoph

Re: usage on older CPUs

Posted: Mon Oct 11, 2010 6:53 am
by ChrisF14
Hi,

no one any ideas?

Christoph

Re: usage on older CPUs

Posted: Wed Oct 13, 2010 5:01 pm
by The Coolest
Current versions of Core Temp require you to have a supported processor for it to work.
The Dll in the development section is simply an interface to Core Temp's shared memory block for easier access to that information.
As you've probably noticed, Core Temp is a closed source project, so I cannot share any code.
What I can say is that frequency detection of modern processors is not very trivial, it is rather simple on older CPUs such as early P4s and older, you can simply use the TSC feature which exist pretty much in every processor in use today.
http://en.wikipedia.org/wiki/Time_Stamp_Counter

Re: usage on older CPUs

Posted: Thu Oct 14, 2010 3:20 pm
by ChrisF14
Thank you for the advice, I'll play a little around....