Commit b7b7d998 authored by David Vorick's avatar David Vorick

profile flag will grap CPU and Mem profiles

parent 7ecc5e4d
......@@ -106,6 +106,9 @@ func StartContinuousProfile(profileDir string) {
// Sleep for an exponential amount of time each iteration, this
// keeps the size of the log small while still providing lots of
// information.
SaveMemProfile(profileDir, "continuousProfilingMem")
StartCPUProfile(profileDir, "continuousProfilingCPU")
sleepTime = time.Duration(1.5 * float64(sleepTime))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment