changed name of StartLogAndDynamicCap(...) to StartPCPLogAndExtremaDynamicCap(...).]

This commit is contained in:
Pradyumna Kaushik 2017-01-15 15:23:57 -05:00
parent 7d3403d250
commit 8c6ad36b5e
2 changed files with 4 additions and 4 deletions

View file

@ -57,7 +57,7 @@ func meanCluster(history *ring.Ring) float64 {
return (total / count)
}
func StartLogAndDynamicCap(quit chan struct{}, logging *bool, prefix string, hiThreshold, loThreshold float64) {
func StartPCPLogAndExtremaDynamicCap(quit chan struct{}, logging *bool, prefix string, hiThreshold, loThreshold float64) {
const pcpCommand string = "pmdumptext -m -l -f '' -t 1.0 -d , -c config"
cmd := exec.Command("sh", "-c", pcpCommand)
cmd.SysProcAttr = &syscall.SysProcAttr{Setpgid: true}