Read CPU speeds?

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
Art
Posts: 642
Joined: Wed Nov 09, 2005 8:01 am

Read CPU speeds?

Post by Art »

Hi Guys,
I'm wondering if it's possible, and if so, how,
to read the CPU speeds that you set in the usual way at runtime like this:

Code: Select all

scePowerSetClockFrequency(333, 333, 166);
Or rather than beating around the bush, if you use a command with one invalid
parameter:

Code: Select all

scePowerSetClockFrequency(888, 333, 166);
will the rest of the line be effective, and the other speeds set?

It may be desireable to make CPU speed totally variable, and this info would be helpful when it comes to checking limits.
Cheers, Art.
If not actually, then potentially.
jimparis
Posts: 1145
Joined: Fri Jun 10, 2005 4:21 am
Location: Boston

Post by jimparis »

Yes it's possible.
Read the documentation: http://psp.jim.sh/pspsdk-doc/psppower_8h.html
Art
Posts: 642
Joined: Wed Nov 09, 2005 8:01 am

Post by Art »

Thanks,
It will be interesting to see the numbers change at a faster rate as the CPU
speed increases at integer increments.
If not actually, then potentially.
Post Reply