cpu frequencies
cpu frequencies
- Subject: cpu frequencies
- From: "Jean-luc Chasseriau" <email@hidden>
- Date: Fri, 20 Jun 2008 09:56:30 +0200
Hi!
I'm please to be a new member of darwin-dev so here is the first question :)
I
would like to retrieve the current cpu frequency of each cpu/core
installed (this frequency can change depending on the use -thanks to the intel speedstep
technology-).
Does anyone know which system call should be use to do so?
Currently
I'm using the asm instruction "rdtsc" (which retrieve the number of
tick elapsed since the cpu started) then using a timer to calculate the
frequency.
This is working fine, but this is not reliable for multi-cpu/core architecture.
Do you have an idea of how to solve this problem?
Thanks to all!
jeanluc
--
Jeanluc Chasseriau
<
email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden