Hi,
I wrote a simple test progrm (as below) to check the output of the CurrentProcessorSpeed API when the system goes idle.
===============
int main()
{
while (1)
{
printf("speed %d\n", CurrentProcessorSpeed());
sleep(1);
}
}
==================
This prints the Current Procesor Speed every second. Even when the system goes idle (the I see the output the same as when the system is in normal conditions (2000). I was expecting this to return 1 when the system goes idle. Any ideas on this? Am I missing something here?
Thanks,
Anand
I wrote a simple test progrm (as below) to check the output of the CurrentProcessorSpeed API when the system goes idle.
===============
int main()
{
while (1)
{
printf("speed %d\n", CurrentProcessorSpeed());
sleep(1);
}
}
==================
This prints the Current Procesor Speed every second. Even when the system goes idle (the I see the output the same as when the system is in normal conditions (2000). I was expecting this to return 1 when the system goes idle. Any ideas on this? Am I missing something here?
Thanks,
Anand