SYMBOL INDEX (402 symbols across 45 files) FILE: cmd/all.go function init (line 24) | func init() { FILE: cmd/batt.go function init (line 24) | func init() { FILE: cmd/curr.go function init (line 24) | func init() { FILE: cmd/fans.go function init (line 24) | func init() { FILE: cmd/guess.go constant guessStressDuration (line 25) | guessStressDuration = 8 * time.Second constant guessCoolDuration (line 26) | guessCoolDuration = 12 * time.Second constant guessSampleCount (line 27) | guessSampleCount = 3 constant guessSampleInterval (line 28) | guessSampleInterval = 500 * time.Millisecond constant guessTempMin (line 30) | guessTempMin = float32(25.0) constant guessTempMax (line 31) | guessTempMax = float32(150.0) constant guessOutputThreshold (line 34) | guessOutputThreshold = float32(1.5) constant guessClusterRatio (line 37) | guessClusterRatio = float32(0.20) function init (line 71) | func init() { function rawTemps (line 77) | func rawTemps() map[string]float32 { function avgRawTemps (line 97) | func avgRawTemps(n int, interval time.Duration) map[string]float32 { function deltaTemps (line 122) | func deltaTemps(base, hot map[string]float32) map[string]float32 { function seriesKey (line 140) | func seriesKey(key string) string { function numericValue (line 165) | func numericValue(key string) int { function groupBySeries (line 204) | func groupBySeries(keys []string) map[string][]string { function sortedSeriesKeys (line 222) | func sortedSeriesKeys(groups map[string][]string) []string { function groupByStrideWithinSeries (line 245) | func groupByStrideWithinSeries(sensors []string) [][]string { constant labelSuperCore (line 313) | labelSuperCore = "CPU Super Core" constant labelPerformanceCore (line 314) | labelPerformanceCore = "CPU Performance Core" constant labelEfficiencyCore (line 315) | labelEfficiencyCore = "CPU Efficiency Core" type phaseSpec (line 320) | type phaseSpec struct type phaseResult (line 327) | type phaseResult struct function phaseMidWord (line 335) | func phaseMidWord(label string) string { function qosName (line 345) | func qosName(qos int) string { function buildPhases (line 377) | func buildPhases(perfLevels []platform.PerfLevel, layout platform.SKULay... function spinCore (line 419) | func spinCore(affinityTag int, qosClass int, done <-chan struct{}) { function runAllCoresPhase (line 467) | func runAllCoresPhase(numCPU int, qosClass int, baseline map[string]floa... function runGuess (line 488) | func runGuess(_ *cobra.Command, _ []string) { function layoutSummary (line 564) | func layoutSummary(l platform.SKULayout) string { function formatRange (line 589) | func formatRange(minN, maxN int) string { function expectedCores (line 600) | func expectedCores(l platform.SKULayout, phaseLabel string) (int, int) { function printPhase (line 616) | func printPhase(family string, i int, r phaseResult, keys []string, function printSeries (line 654) | func printSeries(family, label, sk string, sensors []string, coreIdx int... function annotateLine (line 686) | func annotateLine(line, label, key, family string, coreIdx int) string { function printDetectionVerdict (line 708) | func printDetectionVerdict(layout platform.SKULayout, label string, dete... function warnAbsentTypes (line 736) | func warnAbsentTypes(l platform.SKULayout, results []phaseResult) { function printMapping (line 762) | func printMapping(family string, numCPU int, perfLevels []platform.PerfL... function allDetectedKeys (line 896) | func allDetectedKeys(results []phaseResult, clusterKeys []string) map[st... function printTempTxtCrosscheck (line 924) | func printTempTxtCrosscheck(family string, detected map[string]struct{}) { function printReportsCrosscheck (line 979) | func printReportsCrosscheck(family string, detected map[string]struct{}) { FILE: cmd/guess_test.go function TestSeriesKey (line 16) | func TestSeriesKey(t *testing.T) { function TestNumericValue (line 48) | func TestNumericValue(t *testing.T) { function TestGroupBySeries (line 78) | func TestGroupBySeries(t *testing.T) { function TestGroupByStrideWithinSeries (line 121) | func TestGroupByStrideWithinSeries(t *testing.T) { function TestDeltaTemps (line 193) | func TestDeltaTemps(t *testing.T) { function TestPhaseMidWord (line 269) | func TestPhaseMidWord(t *testing.T) { function TestBuildPhases (line 303) | func TestBuildPhases(t *testing.T) { function TestFormatRange (line 409) | func TestFormatRange(t *testing.T) { function TestExpectedCores (line 438) | func TestExpectedCores(t *testing.T) { function TestLayoutSummary (line 478) | func TestLayoutSummary(t *testing.T) { function TestSortedSeriesKeys (line 510) | func TestSortedSeriesKeys(t *testing.T) { function TestAnnotateLine (line 565) | func TestAnnotateLine(t *testing.T) { function TestAllDetectedKeys (line 626) | func TestAllDetectedKeys(t *testing.T) { FILE: cmd/hw.go function init (line 24) | func init() { FILE: cmd/power.go function init (line 24) | func init() { FILE: cmd/raw.go constant hexDigits (line 17) | hexDigits = "0123456789abcdef" function formatBytesHex (line 21) | func formatBytesHex(b [32]byte, size uint32) string { function init (line 65) | func init() { FILE: cmd/root.go function Execute (line 29) | func Execute() { function init (line 37) | func init() { FILE: cmd/temp.go function init (line 24) | func init() { FILE: cmd/version.go function init (line 32) | func init() { FILE: cmd/volt.go function init (line 24) | func init() { FILE: gosmc/gosmc.go type DataVers (line 19) | type DataVers struct type PLimitData (line 28) | type PLimitData struct type KeyInfo (line 37) | type KeyInfo struct type SMCKeyData (line 44) | type SMCKeyData struct type SMCVal (line 57) | type SMCVal struct type UInt32Char (line 65) | type UInt32Char method toC (line 69) | func (bs UInt32Char) toC() C.UInt32Char_t { method ToString (line 74) | func (bs UInt32Char) ToString() string { function uint32CharFromC (line 79) | func uint32CharFromC(xs C.UInt32Char_t) UInt32Char { type SMCBytes (line 84) | type SMCBytes method toC (line 87) | func (bs SMCBytes) toC() C.SMCBytes_t { function smcBytesFromC (line 92) | func smcBytesFromC(xs C.SMCBytes_t) SMCBytes { function SMCOpen (line 97) | func SMCOpen(service string) (connection uint, result int) { function SMCClose (line 109) | func SMCClose(connection uint) int { function SMCReadKey (line 114) | func SMCReadKey(connection uint, key string) (*SMCVal, int) { function SMCCall (line 130) | func SMCCall(connection uint, index uint, inputStruct *SMCKeyData) (*SMC... function SMCWriteKey (line 192) | func SMCWriteKey(connection uint, val *SMCVal) int { function SMCWriteKeyUnsafe (line 203) | func SMCWriteKeyUnsafe(connection uint, val *SMCVal) int { FILE: gosmc/smc.c type SMCKeyInfoCacheEntry_t (line 39) | typedef struct { function UInt32 (line 55) | static UInt32 smcPackKeyBytes(const char *str, int size) { function smcUnpackKeyBytes (line 71) | static void smcUnpackKeyBytes(char *str, UInt32 val) { function kern_return_t (line 76) | kern_return_t SMCOpen(const char *serviceName, io_connect_t *conn) { function kern_return_t (line 106) | kern_return_t SMCClose(io_connect_t conn) { function kern_return_t (line 117) | kern_return_t SMCCall(io_connect_t conn, UInt32 index, function keyInfoCacheFind (line 148) | static int keyInfoCacheFind(UInt32 key, SMCKeyData_keyInfo_t *keyInfo) { function keyInfoCacheInsert (line 184) | static void keyInfoCacheInsert(UInt32 key, function kern_return_t (line 234) | static kern_return_t SMCGetKeyInfo(io_connect_t conn, UInt32 key, function kern_return_t (line 294) | kern_return_t SMCReadKey(io_connect_t conn, const UInt32Char_t key, function kern_return_t (line 336) | kern_return_t SMCWriteKey(io_connect_t conn, const SMCVal_t *val) { function kern_return_t (line 349) | kern_return_t SMCWriteKeyUnsafe(io_connect_t conn, const SMCVal_t *val) { FILE: gosmc/smc.h type SMCKeyData_vers_t (line 76) | typedef struct { type SMCKeyData_pLimitData_t (line 84) | typedef struct { type SMCKeyData_keyInfo_t (line 92) | typedef struct { type UInt8 (line 102) | typedef UInt8 SMCBytes_t[SMC_MAX_DATA_SIZE]; type SMCKeyData_t (line 104) | typedef struct { type SMCVal_t (line 118) | typedef struct { FILE: gosmc/values.go constant IOReturnSuccess (line 8) | IOReturnSuccess = 0x0 constant IOReturnError (line 9) | IOReturnError = 0x2bc constant IOReturnNoMemory (line 10) | IOReturnNoMemory = 0x2bd constant IOReturnNoResources (line 11) | IOReturnNoResources = 0x2be constant IOReturnIPCError (line 12) | IOReturnIPCError = 0x2bf constant IOReturnNoDevice (line 13) | IOReturnNoDevice = 0x2c0 constant IOReturnNotPrivileged (line 14) | IOReturnNotPrivileged = 0x2c1 constant IOReturnBadArgument (line 15) | IOReturnBadArgument = 0x2c2 constant IOReturnLockedRead (line 16) | IOReturnLockedRead = 0x2c3 constant IOReturnLockedWrite (line 17) | IOReturnLockedWrite = 0x2c4 constant IOReturnExclusiveAccess (line 18) | IOReturnExclusiveAccess = 0x2c5 constant IOReturnBadMessageID (line 20) | IOReturnBadMessageID = 0x2c6 constant IOReturnUnsupported (line 22) | IOReturnUnsupported = 0x2c7 constant IOReturnVMError (line 23) | IOReturnVMError = 0x2c8 constant IOReturnInternalError (line 24) | IOReturnInternalError = 0x2c9 constant IOReturnIOError (line 25) | IOReturnIOError = 0x2ca constant IOReturnCannotLock (line 27) | IOReturnCannotLock = 0x2cc constant IOReturnNotOpen (line 28) | IOReturnNotOpen = 0x2cd constant IOReturnNotReadable (line 29) | IOReturnNotReadable = 0x2ce constant IOReturnNotWritable (line 30) | IOReturnNotWritable = 0x2cf constant IOReturnNotAligned (line 31) | IOReturnNotAligned = 0x2d0 constant IOReturnBadMedia (line 32) | IOReturnBadMedia = 0x2d1 constant IOReturnStillOpen (line 33) | IOReturnStillOpen = 0x2d2 constant IOReturnRLDError (line 34) | IOReturnRLDError = 0x2d3 constant IOReturnDMAError (line 35) | IOReturnDMAError = 0x2d4 constant IOReturnBusy (line 36) | IOReturnBusy = 0x2d5 constant IOReturnTimeout (line 37) | IOReturnTimeout = 0x2d6 constant IOReturnOffline (line 38) | IOReturnOffline = 0x2d7 constant IOReturnNotReady (line 39) | IOReturnNotReady = 0x2d8 constant IOReturnNotAttached (line 40) | IOReturnNotAttached = 0x2d9 constant IOReturnNoChannels (line 41) | IOReturnNoChannels = 0x2da constant IOReturnNoSpace (line 42) | IOReturnNoSpace = 0x2db constant IOReturnPortExists (line 44) | IOReturnPortExists = 0x2dd constant IOReturnCannotWire (line 45) | IOReturnCannotWire = 0x2de constant IOReturnNoInterrupt (line 47) | IOReturnNoInterrupt = 0x2df constant IOReturnNoFrames (line 48) | IOReturnNoFrames = 0x2e0 constant IOReturnMessageTooLarge (line 49) | IOReturnMessageTooLarge = 0x2e1 constant IOReturnNotPermitted (line 51) | IOReturnNotPermitted = 0x2e2 constant IOReturnNoPower (line 52) | IOReturnNoPower = 0x2e3 constant IOReturnNoMedia (line 53) | IOReturnNoMedia = 0x2e4 constant IOReturnUnformattedMedia (line 54) | IOReturnUnformattedMedia = 0x2e5 constant IOReturnUnsupportedMode (line 55) | IOReturnUnsupportedMode = 0x2e6 constant IOReturnUnderrun (line 56) | IOReturnUnderrun = 0x2e7 constant IOReturnOverrun (line 57) | IOReturnOverrun = 0x2e8 constant IOReturnDeviceError (line 58) | IOReturnDeviceError = 0x2e9 constant IOReturnNoCompletion (line 59) | IOReturnNoCompletion = 0x2ea constant IOReturnAborted (line 60) | IOReturnAborted = 0x2eb constant IOReturnNoBandwidth (line 61) | IOReturnNoBandwidth = 0x2ec constant IOReturnNotResponding (line 62) | IOReturnNotResponding = 0x2ed constant IOReturnIsoTooOld (line 63) | IOReturnIsoTooOld = 0x2ee constant IOReturnIsoTooNew (line 64) | IOReturnIsoTooNew = 0x2ef constant IOReturnNotFound (line 65) | IOReturnNotFound = 0x2f0 constant IOReturnInvalid (line 66) | IOReturnInvalid = 0x1 constant OPNone (line 71) | OPNone = iota constant OPList (line 72) | OPList constant OPRead (line 73) | OPRead constant OPReadFan (line 74) | OPReadFan constant OPWrite (line 75) | OPWrite constant OPBruteForce (line 76) | OPBruteForce constant KernelIndexSMC (line 81) | KernelIndexSMC = 2 constant CMDReadBytes (line 86) | CMDReadBytes = 5 constant CMDWriteBytes (line 87) | CMDWriteBytes = 6 constant CMDReadIndex (line 88) | CMDReadIndex = 8 constant CMDReadKeyinfo (line 89) | CMDReadKeyinfo = 9 constant CMDReadPlimit (line 90) | CMDReadPlimit = 11 constant CMDReadVers (line 91) | CMDReadVers = 12 constant TypeFPE2 (line 96) | TypeFPE2 = "fpe2" constant TypeFP2E (line 97) | TypeFP2E = "fp2e" constant TypeFP4C (line 98) | TypeFP4C = "fp4c" constant TypeCH8 (line 99) | TypeCH8 = "ch8*" constant TypeSP78 (line 100) | TypeSP78 = "sp78" constant TypeSP4B (line 101) | TypeSP4B = "sp4b" constant TypeFP5B (line 102) | TypeFP5B = "fp5b" constant TypeFP88 (line 103) | TypeFP88 = "fp88" constant TypeUI8 (line 104) | TypeUI8 = "ui8" constant TypeUI16 (line 105) | TypeUI16 = "ui16" constant TypeUI32 (line 106) | TypeUI32 = "ui32" constant TypeSI8 (line 107) | TypeSI8 = "si8" constant TypeSI16 (line 108) | TypeSI16 = "si16" constant TypeSI32 (line 109) | TypeSI32 = "si32" constant TypeFLAG (line 110) | TypeFLAG = "flag" constant TypeFDS (line 111) | TypeFDS = "{fds" constant TypeFLT (line 112) | TypeFLT = "flt" constant TypeFPXXSize (line 117) | TypeFPXXSize = 2 constant TypeSPXXSize (line 118) | TypeSPXXSize = 2 constant TypeUI8Size (line 119) | TypeUI8Size = 1 constant TypeUI16Size (line 120) | TypeUI16Size = 2 constant TypeUI32Size (line 121) | TypeUI32Size = 4 constant TypeSI8Size (line 122) | TypeSI8Size = 1 constant TypeSI16Size (line 123) | TypeSI16Size = 2 constant TypeSI32Size (line 124) | TypeSI32Size = 4 constant TypeFLAGSize (line 125) | TypeFLAGSize = 1 FILE: hid/get.go function GetAll (line 336) | func GetAll() map[string]any { function hidGet (line 349) | func hidGet(cStr *C.char, unit string) map[string]any { function GetCurrent (line 360) | func GetCurrent() map[string]any { function GetVoltage (line 365) | func GetVoltage() map[string]any { function GetTemperature (line 370) | func GetTemperature() map[string]any { FILE: hid/hid.go constant SensorSeparator (line 18) | SensorSeparator = ":" constant SensorType (line 19) | SensorType = "hid" function getGeneric (line 23) | func getGeneric(unit string, cStr *C.char) map[string]any { FILE: main.go function main (line 13) | func main() { FILE: output/influxoutput.go type InfluxOutput (line 16) | type InfluxOutput struct method All (line 28) | func (io InfluxOutput) All() { method Battery (line 39) | func (io InfluxOutput) Battery() { method Current (line 43) | func (io InfluxOutput) Current() { method Fans (line 47) | func (io InfluxOutput) Fans() { method Hardware (line 51) | func (io InfluxOutput) Hardware() { method Power (line 55) | func (io InfluxOutput) Power() { method Temperature (line 59) | func (io InfluxOutput) Temperature() { method Voltage (line 63) | func (io InfluxOutput) Voltage() { method print (line 123) | func (io InfluxOutput) print(name string, smcdata map[string]any) { function NewInfluxOutput (line 21) | func NewInfluxOutput() Output { function influxStringConvert (line 69) | func influxStringConvert(s string) string { function influxEscape (line 78) | func influxEscape(s string) string { function influxGetValue (line 100) | func influxGetValue(s string) string { function influxGetUnit (line 108) | func influxGetUnit(s string) string { FILE: output/influxoutput_test.go function stripTimestamp (line 19) | func stripTimestamp(line string) string { function Test_influxStringConvert (line 30) | func Test_influxStringConvert(t *testing.T) { function Test_influxGetValue (line 50) | func Test_influxGetValue(t *testing.T) { function Test_influxGetUnit (line 68) | func Test_influxGetUnit(t *testing.T) { function TestInfluxOutput_methods (line 88) | func TestInfluxOutput_methods(t *testing.T) { function TestInfluxOutput_All (line 156) | func TestInfluxOutput_All(t *testing.T) { function TestInfluxOutput_emptyKey (line 181) | func TestInfluxOutput_emptyKey(t *testing.T) { function TestInfluxOutput_unitExtraction (line 207) | func TestInfluxOutput_unitExtraction(t *testing.T) { function TestInfluxOutput_empty (line 230) | func TestInfluxOutput_empty(t *testing.T) { FILE: output/jsonoutput.go type JSONOutput (line 18) | type JSONOutput struct method All (line 85) | func (jo JSONOutput) All() { method Battery (line 109) | func (jo JSONOutput) Battery() { method Current (line 113) | func (jo JSONOutput) Current() { method Fans (line 117) | func (jo JSONOutput) Fans() { method Hardware (line 121) | func (jo JSONOutput) Hardware() { method Power (line 125) | func (jo JSONOutput) Power() { method Temperature (line 129) | func (jo JSONOutput) Temperature() { method Voltage (line 133) | func (jo JSONOutput) Voltage() { method print (line 139) | func (jo JSONOutput) print(v any) { function NewJSONOutput (line 23) | func NewJSONOutput() Output { type newstruct (line 30) | type newstruct struct function format (line 41) | func format(d any) (any, error) { FILE: output/jsonoutput_test.go function Test_format_sp78 (line 20) | func Test_format_sp78(t *testing.T) { function Test_format_nonStringValue (line 49) | func Test_format_nonStringValue(t *testing.T) { function TestJSONOutput (line 77) | func TestJSONOutput(t *testing.T) { FILE: output/output.go type Output (line 31) | type Output interface function getAll (line 51) | func getAll() map[string]any { function getBattery (line 56) | func getBattery() map[string]any { function getCurrent (line 61) | func getCurrent() map[string]any { function getFans (line 66) | func getFans() map[string]any { function getTemperature (line 71) | func getTemperature() map[string]any { function getPower (line 76) | func getPower() map[string]any { function getVoltage (line 81) | func getVoltage() map[string]any { function sortedKeys (line 86) | func sortedKeys(m map[string]any) []string { function getHardware (line 99) | func getHardware() map[string]any { function deepCopy (line 164) | func deepCopy(dest, src map[string]any) { function isFloatType (line 177) | func isFloatType(typ string) bool { function merge (line 190) | func merge(a, b map[string]any) map[string]any { FILE: output/output_test.go function Test_deepCopy (line 16) | func Test_deepCopy(t *testing.T) { function Test_merge (line 71) | func Test_merge(t *testing.T) { function Test_deepCopy_isolation (line 133) | func Test_deepCopy_isolation(t *testing.T) { function Test_merge_bOverridesA (line 158) | func Test_merge_bOverridesA(t *testing.T) { function Test_merge_nestedBOverridesA (line 171) | func Test_merge_nestedBOverridesA(t *testing.T) { function toJSON (line 199) | func toJSON(src map[string]any) string { function getMapForSensor (line 206) | func getMapForSensor(sensorName string) map[string]any { FILE: output/outputfactory.go function Factory (line 10) | func Factory(outputType string) Output { FILE: output/outputfactory_test.go function TestFactory (line 13) | func TestFactory(t *testing.T) { FILE: output/tableoutput.go type TableOutput (line 17) | type TableOutput struct method All (line 32) | func (to TableOutput) All() { method Battery (line 43) | func (to TableOutput) Battery() { method Current (line 47) | func (to TableOutput) Current() { method Fans (line 51) | func (to TableOutput) Fans() { method Hardware (line 55) | func (to TableOutput) Hardware() { method Power (line 59) | func (to TableOutput) Power() { method Temperature (line 63) | func (to TableOutput) Temperature() { method Voltage (line 67) | func (to TableOutput) Voltage() { method print (line 73) | func (to TableOutput) print(name string, smcdata map[string]any) { function NewTableOutput (line 24) | func NewTableOutput(isASCII bool) Output { FILE: output/tableoutput_test.go function TestTableOutput_ASCII (line 35) | func TestTableOutput_ASCII(t *testing.T) { function TestTableOutput_Table (line 165) | func TestTableOutput_Table(t *testing.T) { function getASCIITpl (line 217) | func getASCIITpl(title ...string) string { function getTableTpl (line 239) | func getTableTpl(title ...string) string { FILE: platform/get.go type PerfLevel (line 29) | type PerfLevel struct function getModel (line 42) | func getModel() string { function GetFamily (line 68) | func GetFamily() string { function GetModelID (line 79) | func GetModelID() string { function GetProduct (line 85) | func GetProduct() (Product, bool) { function GetSKULayout (line 94) | func GetSKULayout() (SKULayout, bool) { function LookupSKULayout (line 107) | func LookupSKULayout(cpu string) (SKULayout, bool) { function GetTotalCPU (line 115) | func GetTotalCPU() (physical, logical int) { function GetPerfLevels (line 131) | func GetPerfLevels() []PerfLevel { FILE: platform/mapping.go type Product (line 8) | type Product struct constant PairSignaturePE (line 18) | PairSignaturePE = "P+E" constant PairSignatureSE (line 19) | PairSignatureSE = "S+E" constant PairSignatureSP (line 20) | PairSignatureSP = "S+P" type SKULayout (line 26) | type SKULayout struct FILE: platform/mapping_test.go function Test_productsIntegrity (line 22) | func Test_productsIntegrity(t *testing.T) { function Test_productsKnownEntries (line 59) | func Test_productsKnownEntries(t *testing.T) { function Test_GetProduct_consistency (line 101) | func Test_GetProduct_consistency(t *testing.T) { function Test_GetFamily_consistency (line 121) | func Test_GetFamily_consistency(t *testing.T) { function Test_skuLayoutsIntegrity (line 151) | func Test_skuLayoutsIntegrity(t *testing.T) { function Test_skuLayouts_coverage (line 198) | func Test_skuLayouts_coverage(t *testing.T) { function Test_LookupSKULayout_known (line 215) | func Test_LookupSKULayout_known(t *testing.T) { function Test_LookupSKULayout_unknown (line 263) | func Test_LookupSKULayout_unknown(t *testing.T) { FILE: reports/reports.go function Keys (line 39) | func Keys(family string) map[string]struct{} { function Families (line 47) | func Families() []string { function load (line 62) | func load() { function familyFromFilename (line 99) | func familyFromFilename(name string) string { function ingest (line 129) | func ingest(target map[string]map[string]struct{}, body, family string) { FILE: reports/reports_test.go function TestFamilyFromFilename (line 12) | func TestFamilyFromFilename(t *testing.T) { function TestKeysIntegration (line 57) | func TestKeysIntegration(t *testing.T) { function TestFamilies (line 100) | func TestFamilies(t *testing.T) { function TestIngest_skipsNonTKeys (line 130) | func TestIngest_skipsNonTKeys(t *testing.T) { FILE: smc/conv.go type FPConv (line 18) | type FPConv struct function fpToFloat32 (line 51) | func fpToFloat32(t string, x gosmc.SMCBytes, size uint32) (float32, erro... function fltToFloat32 (line 69) | func fltToFloat32(x gosmc.SMCBytes, size uint32) (float32, error) { function smcTypeToString (line 78) | func smcTypeToString(x gosmc.UInt32Char) string { function smcBytesToUint32 (line 84) | func smcBytesToUint32(x gosmc.SMCBytes, size uint32) uint32 { function smcBytesToFloat32 (line 98) | func smcBytesToFloat32(x gosmc.SMCBytes, size uint32) float32 { function ioftToFloat32 (line 103) | func ioftToFloat32(x gosmc.SMCBytes, size uint32) (float32, error) { function decodeToFloat32 (line 115) | func decodeToFloat32(dataType string, bytes gosmc.SMCBytes, size uint32)... function DecodeValue (line 131) | func DecodeValue(dataType string, bytes gosmc.SMCBytes, size uint32) str... FILE: smc/conv_test.go function makeBytes (line 16) | func makeBytes(b ...byte) gosmc.SMCBytes { function makeUInt32Char (line 24) | func makeUInt32Char(s string) gosmc.UInt32Char { function Test_fpToFloat32 (line 31) | func Test_fpToFloat32(t *testing.T) { function Test_fltToFloat32 (line 62) | func Test_fltToFloat32(t *testing.T) { function Test_smcTypeToString (line 89) | func Test_smcTypeToString(t *testing.T) { function Test_smcBytesToUint32 (line 110) | func Test_smcBytesToUint32(t *testing.T) { function Test_smcBytesToFloat32 (line 134) | func Test_smcBytesToFloat32(t *testing.T) { function Test_AppleFPConvTable (line 159) | func Test_AppleFPConvTable(t *testing.T) { function Test_fpToFloat32_bigEndianAsymmetric (line 187) | func Test_fpToFloat32_bigEndianAsymmetric(t *testing.T) { function Test_fltToFloat32_littleEndianAsymmetric (line 196) | func Test_fltToFloat32_littleEndianAsymmetric(t *testing.T) { function Test_smcBytesToUint32_bigEndianAsymmetric (line 206) | func Test_smcBytesToUint32_bigEndianAsymmetric(t *testing.T) { function Test_decodeToFloat32 (line 217) | func Test_decodeToFloat32(t *testing.T) { function Test_DecodeValue (line 249) | func Test_DecodeValue(t *testing.T) { function Test_ioftToFloat32_divisor (line 301) | func Test_ioftToFloat32_divisor(t *testing.T) { function Test_ioftToFloat32 (line 307) | func Test_ioftToFloat32(t *testing.T) { FILE: smc/get.go function getKeyFloat32 (line 20) | func getKeyFloat32(c uint, key string) (float32, string, error) { function getKeyUint32 (line 62) | func getKeyUint32(c uint, key string) (uint32, string, error) { function getKeyBool (line 80) | func getKeyBool(c uint, key string) (bool, string, error) { FILE: smc/mapping_test.go function resolveM4Sensors (line 72) | func resolveM4Sensors(sensors []SensorStat, snapshot map[string]float32)... function Test_M4Pro14CoreMapping (line 98) | func Test_M4Pro14CoreMapping(t *testing.T) { function resolveForFamily (line 260) | func resolveForFamily(sensors []SensorStat, family string, snapshot map[... function Test_A18ProResolvedTable (line 321) | func Test_A18ProResolvedTable(t *testing.T) { function Test_A18ProMapping (line 367) | func Test_A18ProMapping(t *testing.T) { function Test_M2ProMapping (line 454) | func Test_M2ProMapping(t *testing.T) { function Test_isValidReading (line 527) | func Test_isValidReading(t *testing.T) { FILE: smc/raw.go constant keyCount (line 16) | keyCount = "#KEY" constant maxKeys (line 19) | maxKeys = 4096 type RawKey (line 23) | type RawKey struct function GetRaw (line 31) | func GetRaw() []RawKey { FILE: smc/rawtemp.go constant rawTempMin (line 16) | rawTempMin = float32(-100.0) constant rawTempMax (line 17) | rawTempMax = float32(200.0) function RawKeyToFloat32 (line 29) | func RawKeyToFloat32(k RawKey) (float32, bool) { function finiteInRange (line 70) | func finiteInRange(v float32) (float32, bool) { FILE: smc/rawtemp_test.go function Test_RawKeyToFloat32 (line 23) | func Test_RawKeyToFloat32(t *testing.T) { FILE: smc/smc.go constant AppleSMC (line 21) | AppleSMC = "AppleSMC" constant FanNum (line 22) | FanNum = "FNum" constant BattNum (line 23) | BattNum = "BNum" constant BattPwr (line 24) | BattPwr = "BATP" constant BattInf (line 25) | BattInf = "BSIn" constant KeyWildcard (line 26) | KeyWildcard = "%" constant maxFans (line 29) | maxFans = 32 constant TempUnit (line 31) | TempUnit = "°C" constant minTempCelsius (line 34) | minTempCelsius = 10.0 type SensorStat (line 38) | type SensorStat struct function filteredTemp (line 52) | func filteredTemp() []SensorStat { function openSMC (line 62) | func openSMC() (uint, error) { function GetAll (line 72) | func GetAll() map[string]any { function GetBattery (line 92) | func GetBattery() map[string]any { function getBattery (line 104) | func getBattery(c uint) map[string]any { function GetCurrent (line 129) | func GetCurrent() map[string]any { function GetFans (line 141) | func GetFans() map[string]any { function getFans (line 153) | func getFans(c uint) map[string]any { function getGenericSensors (line 191) | func getGenericSensors(conn uint, unit string, smcSlice []SensorStat) ma... function isValidReading (line 221) | func isValidReading(val float32, unit string) bool { function addGeneric (line 235) | func addGeneric(generic map[string]any, conn uint, key, desc, unit strin... function GetPower (line 251) | func GetPower() map[string]any { function GetTemperature (line 263) | func GetTemperature() map[string]any { function GetVoltage (line 275) | func GetVoltage() map[string]any { function filterForPlatform (line 290) | func filterForPlatform(smcSlice []SensorStat) []SensorStat { function resolveFamily (line 305) | func resolveFamily() string { function platformMatches (line 329) | func platformMatches(rowPlatform, family string) bool { function LookupTempDesc (line 350) | func LookupTempDesc(key, family string) (string, bool) { function MappedTempKeys (line 385) | func MappedTempKeys(family string) map[string]string { FILE: smc/smc_test.go function Test_filterForPlatform (line 17) | func Test_filterForPlatform(t *testing.T) { function Test_filterForPlatform_empty (line 31) | func Test_filterForPlatform_empty(t *testing.T) { function Test_filterForPlatform_allOnly (line 36) | func Test_filterForPlatform_allOnly(t *testing.T) { function Test_filterForPlatform_appleSiliconInclusion (line 53) | func Test_filterForPlatform_appleSiliconInclusion(t *testing.T) { function filterByFamily (line 84) | func filterByFamily(smcSlice []SensorStat, family string) []SensorStat { function Test_filterByFamily_A18 (line 116) | func Test_filterByFamily_A18(t *testing.T) { function Test_filterByFamily_A18_GeneratedTable (line 150) | func Test_filterByFamily_A18_GeneratedTable(t *testing.T) { function Test_filterForPlatform_exactFamilyMatch (line 191) | func Test_filterForPlatform_exactFamilyMatch(t *testing.T) { function Test_filterByFamily_NoPCIeLeakOnAppleSilicon (line 224) | func Test_filterByFamily_NoPCIeLeakOnAppleSilicon(t *testing.T) { function Test_platformMatches (line 236) | func Test_platformMatches(t *testing.T) { function Test_LookupTempDesc_directMatch (line 273) | func Test_LookupTempDesc_directMatch(t *testing.T) { function Test_MappedTempKeys_M5 (line 336) | func Test_MappedTempKeys_M5(t *testing.T) { function Test_MappedTempKeys_familyIsolation (line 364) | func Test_MappedTempKeys_familyIsolation(t *testing.T) { FILE: stress/stress_darwin.go constant QoSUserInteractive (line 33) | QoSUserInteractive = 0x21 constant QoSUserInitiated (line 34) | QoSUserInitiated = 0x19 constant QoSBackground (line 35) | QoSBackground = 0x09 function SetAffinityTag (line 49) | func SetAffinityTag(tag int) int { function SetQoS (line 60) | func SetQoS(qosClass int) int {