Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
C Programming
Question of throttling CPU usage
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="James Kuyper, post: 5019960"] I think "system dependent" rather than "outside the application" is your best bet, given the following requirements. For the Linux side, we've already discussed how clock() and sleep() could be used to manage your CPU percentage. localtime() provides the mechanism for making the % vary with time of day. For Windows, I can't help you - I haven't had to program for that environment in nearly two decades. But Robert Wessel seems to have dealt with that side. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C Programming
Question of throttling CPU usage
Top