Triblade Posted July 17, 2008 Share Posted July 17, 2008 (edited) I'd like a AutoIt program/UDF that can throttle CPU speed. I can't find the right words in English, but I'd like to make my own GUI around a CPU speed throtteler. When a slider, dial or button is used the process speed goes up to a max of 100%. Possible with multicore support. I know there are external programs like CPUkiller out there that does the same thing I want, but I hope to see this in AutoIt. This is to test my own idea's and thoughs about threads, processors and balancing in Citrix PS. Edit: Sooo, anyone knows how this can be achieved? muttley Edited July 17, 2008 by Triblade My active project(s): A-maze-ing generator (generates a maze) My archived project(s): Pong3 (Multi-pinger) Link to comment Share on other sites More sharing options...
Bert Posted July 17, 2008 Share Posted July 17, 2008 ummm, why do you need something like this? serious question. It would seem to me that the only useful thing one could do with this is to slow a PC down to cause harm, or you have a REAL old game that gets out of wack due to the high clock speed. The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
Triblade Posted July 17, 2008 Author Share Posted July 17, 2008 Like I said, to test the server balance feature of Citrix for example. My active project(s): A-maze-ing generator (generates a maze) My archived project(s): Pong3 (Multi-pinger) Link to comment Share on other sites More sharing options...
Bert Posted July 17, 2008 Share Posted July 17, 2008 sorry, didn't catch that...my bad The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
smashly Posted July 17, 2008 Share Posted July 17, 2008 On a single core chewing 100% cpu time is an easy task, not sure on a dual core cpu though#include <GUIConstantsEx.au3> #include <WindowsConstants.au3> $hGUI = GUICreate("CPU Thrasher - Hold a left click down on a control.", 420, 150) GUICtrlCreateSlider(10, 10, 200, 28) GUICtrlCreateButton("Hold Me Down", 10, 48, 100, 30) GUISetState() While 1 $msg = GUIGetMsg() Switch $msg Case $GUI_EVENT_CLOSE Exit Case Else Local $GGCI = GUIGetCursorInfo($hGUI) While ($GGCI[4] <> 0 And $GGCI[2]) $GGCI = GUIGetCursorInfo($hGUI) WEnd EndSwitch WEnd Link to comment Share on other sites More sharing options...
TehWhale Posted July 17, 2008 Share Posted July 17, 2008 (edited) On a single core chewing 100% cpu time is an easy task, not sure on a dual core cpu though#include <GUIConstantsEx.au3> #include <WindowsConstants.au3> $hGUI = GUICreate("CPU Thrasher - Hold a left click down on a control.", 420, 150) GUICtrlCreateSlider(10, 10, 200, 28) GUICtrlCreateButton("Hold Me Down", 10, 48, 100, 30) GUISetState() While 1 $msg = GUIGetMsg() Switch $msg Case $GUI_EVENT_CLOSE Exit Case Else Local $GGCI = GUIGetCursorInfo($hGUI) While ($GGCI[4] <> 0 And $GGCI[2]) $GGCI = GUIGetCursorInfo($hGUI) WEnd EndSwitch WEndHow about Quad? muttley On my Quad-Core it only goes up to 7-8% Edited July 17, 2008 by Alienware Link to comment Share on other sites More sharing options...
smashly Posted July 17, 2008 Share Posted July 17, 2008 How about Quad? muttleyOn my Quad-Core it only goes up to 7-8%You must be using an AMD, if that be an intel quad then it's only make 2% ~ 3% usage..lmaoj/k Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now