Hi to all, I have a question: is there any function that allows me to get the CPU usage percentage (or however CPU usage value)?
Because I gave a quick research to pspsdk but I didn't find it :(
Or, in alternative, exists a simple way to "calculate" it?
Thanks to all for attention and sorry for my bad english ;)
EDIT: function found, now:
Oki, I post here to avoid another topic :)
I have an idea but I'm not very "technical" about CPU frequency and use... so I would appreciate your opinion ^^
My idea is to make a plugin that "take" the CPU usage and set CPU frequency depending it! A CPU setting "on demand" xD
For example: CPU is on 222Mhz and the CPU usage is under 50%... so plugin set CPU frequency on 111Mhz. If CPU usage goes above 80 or 90% plugin set CPU frequency on 222Mhz back. And so on...
Well, this is my idea (in few words) :)
I ask you if this idea has sense (so if this is possible...) but especially if this method is dangerous for CPU (and PSP) life...
Thanks to all ^_^
Last edited by Stewie87 on Sun Jun 15, 2008 10:21 am, edited 2 times in total.
I have an idea but I'm not very "technical" about CPU frequency and use... so I would appreciate your opinion ^^
My idea is to make a plugin that "take" the CPU usage and set CPU frequency depending it! A CPU setting "on demand" xD
For example: CPU is on 222Mhz and the CPU usage is under 50%... so plugin set CPU frequency on 111Mhz. If CPU usage goes above 80 or 90% plugin set CPU frequency on 222Mhz back. And so on...
Well, this is my idea (in few words) :)
I ask you if this idea has sense (so if this is possible...) but especially if this method is dangerous for CPU (and PSP) life...
Stewie87 wrote:Oki, I post here to avoid another topic :)
I have an idea but I'm not very "technical" about CPU frequency and use... so I would appreciate your opinion ^^
My idea is to make a plugin that "take" the CPU usage and set CPU frequency depending it! A CPU setting "on demand" xD
For example: CPU is on 222Mhz and the CPU usage is under 50%... so plugin set CPU frequency on 111Mhz. If CPU usage goes above 80 or 90% plugin set CPU frequency on 222Mhz back. And so on...
Well, this is my idea (in few words) :)
I ask you if this idea has sense (so if this is possible...) but especially if this method is dangerous for CPU (and PSP) life...
Thanks to all ^_^
its a good idea but its already been done. in cwcheat set the cpu frequency to -1 and the plugin will dynamically adjust the cpu frequency in relation to the cpu load
Stewie87 wrote:Oki, I post here to avoid another topic :)
I have an idea but I'm not very "technical" about CPU frequency and use... so I would appreciate your opinion ^^
My idea is to make a plugin that "take" the CPU usage and set CPU frequency depending it! A CPU setting "on demand" xD
For example: CPU is on 222Mhz and the CPU usage is under 50%... so plugin set CPU frequency on 111Mhz. If CPU usage goes above 80 or 90% plugin set CPU frequency on 222Mhz back. And so on...
Well, this is my idea (in few words) :)
I ask you if this idea has sense (so if this is possible...) but especially if this method is dangerous for CPU (and PSP) life...
Thanks to all ^_^
its a good idea but its already been done. in cwcheat set the cpu frequency to -1 and the plugin will dynamically adjust the cpu frequency in relation to the cpu load
Really?! o.O
Well at least my was a good idea xD
Weltall, what algorithm do you use to calculate CPU usage? That suggested by insert_winny don't work in a VSH plugin...