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="tom st denis, post: 5020028"] You can create threads with various priority settings in Windows. And you can use nice() in Linux/UNIX.... Both can then call a standard library function you write to process "work." All of which is OT... BTW typically if someone wants to run a daemon that does background heat generation [er... number crunching for whatever cause] they don't want it fixed to a max of x% but more so "lowest damn priority possible." As per your later posts I don't get what a "upto x%" limit buys you. Why not just set x to 100 and then run it at idle level? Would someone really want their computer to be 50% idling when not doing anything giving your program 50% of the cpu? In terms of energy efficiency it's actually better to give it 100% (for instance, the higher power draw of the ARM A15 than the A9 is offset by the fact the core is busy less doing the same unit of work). Tom [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C Programming
Question of throttling CPU usage
Top