Passed scheduler to extrema and prog-extrema.
This commit is contained in:
parent
aca9dcd185
commit
6f97c36411
1 changed files with 3 additions and 3 deletions
|
@ -235,10 +235,10 @@ func main() {
|
||||||
go pcp.Start(pcpLog, &recordPCP, logMType, logMsg, *pcpConfigFile, scheduler)
|
go pcp.Start(pcpLog, &recordPCP, logMType, logMsg, *pcpConfigFile, scheduler)
|
||||||
} else if extrema {
|
} else if extrema {
|
||||||
go powerCap.StartPCPLogAndExtremaDynamicCap(pcpLog, &recordPCP, *hiThreshold,
|
go powerCap.StartPCPLogAndExtremaDynamicCap(pcpLog, &recordPCP, *hiThreshold,
|
||||||
*loThreshold, logMType, logMsg, *pcpConfigFile)
|
*loThreshold, logMType, logMsg, *pcpConfigFile, scheduler)
|
||||||
} else if progExtrema {
|
} else if progExtrema {
|
||||||
go powerCap.StartPCPLogAndProgressiveExtremaCap(pcpLog, &recordPCP, *hiThreshold,
|
go powerCap.StartPCPLogAndProgressiveExtremaCap(pcpLog, &recordPCP, *hiThreshold,
|
||||||
*loThreshold, logMType, logMsg, *pcpConfigFile)
|
*loThreshold, logMType, logMsg, *pcpConfigFile, scheduler)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Take a second between starting PCP log and continuing.
|
// Take a second between starting PCP log and continuing.
|
||||||
|
|
Reference in a new issue