The code to get CPU temperature on Apple Macintosh Intel computers has been in client/hostinfo_unix.cpp for some time. It is called int get_max_cpu_temperature(). // Check up to 10 die temperatures (TC0D, TC1D, etc.) and // 10 heatsink temperatures (TCAH, TCBH, etc.) // Returns the highest current CPU temperature as degrees Celsius. // Returns zero if it fails (or on a PowerPC Mac).
I know it used to work, though I haven't tested it recently. Cheers, --Charlie On Nov 21, 2013, at 10:43 PM, David Anderson wrote: > That would be good; the problem is that (last time I checked) I couldn't > find widely-available APIs for getting CPU temperature. > If anyone knows of such, please let me know. > -- David > > On 21-Nov-2013 4:04 AM, TarotApprentice wrote: >> Might I ask how advanced are we intending to make the BOINC throttling >> mechanism. >> Are we going to stop when its able to do sub-second throttling and leave it >> at >> that or do we have other plans? >> >> I know I would find temperate-based throttling more useful than the current >> mechanism. That is if CPU temp > x then throttle to keep it under x. >> >> Cheers, MarkJ _______________________________________________ boinc_alpha >> mailing >> list [email protected] >> http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_alpha To unsubscribe, >> visit >> the above URL and (near bottom of page) enter your email address. >> > _______________________________________________ > boinc_alpha mailing list > [email protected] > http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_alpha > To unsubscribe, visit the above URL and > (near bottom of page) enter your email address. > _______________________________________________ boinc_dev mailing list [email protected] http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev To unsubscribe, visit the above URL and (near bottom of page) enter your email address.
