튜닝2
This commit is contained in:
parent
e1fc8d9dc2
commit
dbde808411
4
main.go
4
main.go
|
@ -132,8 +132,8 @@ func CpuTempetureMonitoring(info *Processor, sampleDuration time.Duration, notif
|
||||||
func CpuTempetureScraper(processorCount int, notifier <-chan TempetureChange, errorChan chan<- error, ctx context.Context, waiter *sync.WaitGroup) {
|
func CpuTempetureScraper(processorCount int, notifier <-chan TempetureChange, errorChan chan<- error, ctx context.Context, waiter *sync.WaitGroup) {
|
||||||
defer waiter.Done()
|
defer waiter.Done()
|
||||||
var (
|
var (
|
||||||
P, I, D = 1.5, 0.4, 1.0
|
P, I, D = 1.5, 0.4, 2.0
|
||||||
SetPoint = 35.0
|
SetPoint = 37.0
|
||||||
SampleTime = time.Second
|
SampleTime = time.Second
|
||||||
maxNoob, minNoob = 0x64, 0x4
|
maxNoob, minNoob = 0x64, 0x4
|
||||||
WindupGuard = float64(maxNoob - minNoob)
|
WindupGuard = float64(maxNoob - minNoob)
|
||||||
|
|
Loading…
Reference in New Issue