Core temperature

看板FB_hackers作者時間18年前 (2007/08/13 14:38), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/6 (看更多)
I've written a quick-and-dirty driver for the built-in digital temperature sensor in Intel's Core and Core 2 CPUs (and Xeons built on the Core architecture). The driver exports four sysctl nodes under hw.coretemp: hw.coretemp.tjmax Maximum core temperature (currently hardcoded To 100=C2=B0C, may actually be 85=C2=B0C on some sy= stems) hw.coretemp.delta current temperature in =C2=B0C below Tj(max) hw.coretemp.interrupt Lower 32 bits of the IA32_THERMAL_INTERRUPT MSR hw.coretemp.status Lower 32 bits of the IA32_THERMAL_STATUS MSR I intend to move these into dev.cpu.N in a later version. Note that the driver currently makes no attempt to handle multi-CPU systems; it will simply report the temperature of the CPU that contains whichever core the requesting process happens to be running on. http://people.freebsd.org/~des/software/coretemp-20070810.diff DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
文章代碼(AID): #16l_nx00 (FB_hackers)
文章代碼(AID): #16l_nx00 (FB_hackers)