1: | sub coretemp_detect |
| Via Google Codesearch I've found the following source code: Quelltext
Have a look at: http://google.com/codesearch?hl=de&q=+coretemp_detect+show:zeJa3cqgkU8:WjPvRIcL1kg:YRd4jOG8bvw&sa=N&cd=1&ct=rc&cs_p=http://freshmeat.net/redir/lm_sensors/5940/url_tgz/lm_sensors-2.10.2.tar.gz&cs_f=lm_sensors-2.10.3/prog/detect/sensors-detect#a0 Press CTRL and F, type 'coretemp' and switch by pressing Return through the search results. One of them is the code above. This is Perl. I'm not an expert in Perl, so I can't do anything more. ;) I think you have to search for a Perl forum to get some more help. :( |
1: | # @cpu is a list of reference to hashes, one hash per CPU. |
| Maybe we have to find where the array is filled with the data. Don't know if this is helpful but the array is filled in this subroutine: Quelltext
I can't do anything more now... |
| Zitat: |
| 13.5.5.2 Reading the Digital Sensor
Unlike traditional analog thermal devices, the output of the digital thermal sensor is a temperature relative to the maximum supported operating temperature of the processor. Tj(Max). Temperature measurements returned by digital thermal sensors are always at or below Tj(Max). Critical temperature conditions are detected using the “Critical Temperature Status” bit. When this bit is set, the processor is operating at a critical temperature and immediate shutdown of the system should occur. Once the “Critical Temperature Status” bit is set, reliable operation is not guaranteed. See Figure 13-9 for the layout of IA32_THERM_STATUS MSR. Bit fields include: • Thermal Status (bit 0, RO) — This bit indicates whether the digital thermal sensor high-temperature output signal (PROCHOT#) is currently active. Bit 0 = 1 indicates the feature is active. This bit may not be written by software; it reflects the state of the digital thermal sensor. • Thermal Status Log (bit 1, R/WC0) — This is a sticky bit that indicates the history of the thermal sensor high temperature output signal (PROCHOT#). Bit 1 = 1 if PROCHOT# has been asserted since a previous RESET or the last time software cleared the bit. Software may clear this bit by writing a zero. • PROCHOT# or FORCEPR# Event (bit 2, RO) — Indicates whether PROCHOT# or FORCEPR# is being asserted by another agent on the platform. • PROCHOT# or FORCEPR# Log (bit 3, R/WC0) — Sticky bit that indicates whether PROCHOT# or FORCEPR# has been asserted by another agent on the |
1: | #include <float.h> |
Entwickler-Ecke.de based on phpBB
Copyright 2002 - 2011 by Tino Teuber, Copyright 2011 - 2026 by Christian Stelzmann Alle Rechte vorbehalten.
Alle Beiträge stammen von dritten Personen und dürfen geltendes Recht nicht verletzen.
Entwickler-Ecke und die zugehörigen Webseiten distanzieren sich ausdrücklich von Fremdinhalten jeglicher Art!