2 Replies - 12299 Views - Last Post: 19 October 2012 - 01:23 PM Rate Topic: -----

#1 experimenting  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 16
  • Joined: 11-July 12

How to control CPU's speed with C++ programming?

Posted 21 July 2012 - 04:59 PM

Is it possible to control CPU's speed through C++ programming??
If yes,How?

I just need an algorithm
..


OS-Window 7.
Is This A Good Question/Topic? 0
  • +

Replies To: How to control CPU's speed with C++ programming?

#2 Skydiver  Icon User is offline

  • Code herder
  • member icon

Reputation: 3575
  • View blog
  • Posts: 11,116
  • Joined: 05-May 12

Re: How to control CPU's speed with C++ programming?

Posted 21 July 2012 - 06:52 PM

You can look at the Power Management API's in the Windows API: http://msdn.microsof...3(v=vs.85).aspx

Why would you want to do this, though within your program? It's a user setting that the user should choose to control. What if the user is on a airplane with no chance to recharge, are you just going to suck up his battery because you feel like your program should be running with a faster CPU?

Sounds like malware to me.
Was This Post Helpful? 1
  • +
  • -

#3 psilocybin420  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 20
  • Joined: 19-September 12

Re: How to control CPU's speed with C++ programming?

Posted 19 October 2012 - 01:23 PM

http://www.codeproje...ses-and-threads
it looks pretty simple and i dont even fully understand classes yet, hope it helps.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1