Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var HighTemp uint = 64
HighTemp is the highest temperature for the WaitToCool method to detect that the cpu is too hot
note: if set to strict mode, LowTemp will take this variabes place
default: 64
var Logging bool = true
when Logging is enabled, the WaitToCool method will log info to the console to report when it is waiting for the cpu to cool down
you can set this var to false to disable this feature
default: true
var LowTemp uint = 56
LowTemp is the lowest temperature for the WaitToCool method to wait for, before deciding that the cpu has colled down, if it was previously throttled by HighTemp (except in strict mode, where LowTemp takes the place of HighTemp)
default: 56
Functions ¶
func WaitToCool ¶
func WaitToCool(strict bool)
WaitToCool makes your function wait for the cpu to cool down
by default, if the temperature > HighTemp, it will wait until the temperature <= LowTemp
in strict mode, this will run if temperature > LowTemp
HighTemp = 64 LowTemp = 56
Types ¶
This section is empty.