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
|
@ -182,7 +182,7 @@ func main() {
|
||||||
} else if *powerCapPolicy == "prog-extrema" {
|
} else if *powerCapPolicy == "prog-extrema" {
|
||||||
progExtrema = true
|
progExtrema = true
|
||||||
}
|
}
|
||||||
// High and Low thresholds are currently only needed for extrema and
|
// High and Low thresholds are currently only needed for extrema and
|
||||||
// progressive extrema.
|
// progressive extrema.
|
||||||
if extrema || progExtrema {
|
if extrema || progExtrema {
|
||||||
// High and Low Thresholds.
|
// High and Low Thresholds.
|
||||||
|
@ -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