MCPcopy Create free account

hub / github.com/pkg/profile / functions

Functions35 in github.com/pkg/profile

↓ 15 callersMethodStop
Stop stops the profile and flushes any unwritten data.
profile.go:142
↓ 13 callersFunctionStart
Start starts a new profiling session. The caller should call the Stop method on the value returned to cleanly stop profiling.
profile.go:157
↓ 10 callersFunctionStderr
Stderr verifies that the given lines match the output from stderr
profile_test.go:232
↓ 2 callersFunctionvalidateOutput
validatedOutput validates the given slice of lines against data from the given reader.
profile_test.go:263
↓ 1 callersFunctionMemProfileRate
MemProfileRate enables memory profiling at the preferred rate. It disables any previous profiling settings.
profile.go:87
↓ 1 callersFunctionProfilePath
ProfilePath controls the base path where various profiling files are written. If blank, the base path will be generated by ioutil.TempDir.
profile.go:135
↓ 1 callersFunctionrunTest
runTest executes the go program supplied and returns the contents of stdout, stderr, and an error which may contain status information about the resul
profile_test.go:322
FunctionBlockProfile
BlockProfile enables block (contention) profiling. It disables any previous profiling settings.
profile.go:114
FunctionCPUProfile
CPUProfile enables cpu profiling. It disables any previous profiling settings.
profile.go:72
FunctionClockProfile
ClockProfile enables wall clock (fgprof) profiling. It disables any previous profiling settings.
profile.go:130
FunctionErr
Err checks that there was an error returned
profile_test.go:249
FunctionExampleCPUProfile
()
example_test.go:16
FunctionExampleMemProfile
()
example_test.go:22
FunctionExampleMemProfileAllocs
()
example_test.go:37
FunctionExampleMemProfileHeap
()
example_test.go:32
FunctionExampleMemProfileRate
()
example_test.go:27
FunctionExampleNoShutdownHook
()
example_test.go:47
FunctionExampleProfilePath
()
example_test.go:42
FunctionExampleStart
()
example_test.go:10
FunctionExampleStart_withFlags
()
example_test.go:52
FunctionExampleTraceProfile
()
trace_test.go:5
FunctionGoroutineProfile
GoroutineProfile enables goroutine profiling. It disables any previous profiling settings.
profile.go:126
FunctionMemProfile
MemProfile enables memory profiling. It disables any previous profiling settings.
profile.go:80
FunctionMemProfileAllocs
MemProfileAllocs changes which type of memory to profile allocations.
profile.go:103
FunctionMemProfileHeap
MemProfileHeap changes which type of memory profiling to profile the heap.
profile.go:96
FunctionMutexProfile
MutexProfile enables mutex profiling. It disables any previous profiling settings.
profile.go:110
FunctionNoErr
NoErr checks that err was nil
profile_test.go:256
FunctionNoShutdownHook
NoShutdownHook controls whether the profiling package should hook SIGINT to write profiles cleanly. Programs with more sophisticated signal handling s
profile.go:65
FunctionNoStderr
NoStderr checks that stderr was blank.
profile_test.go:242
FunctionNoStdout
NoStdout checks that stdout was blank.
profile_test.go:225
FunctionQuiet
Quiet suppresses informational messages during profiling.
profile.go:68
FunctionTestProfile
(t *testing.T)
profile_test.go:17
FunctionTestValidateOutput
(t *testing.T)
profile_test.go:309
FunctionThreadcreationProfile
ThreadcreationProfile enables thread creation profiling.. It disables any previous profiling settings.
profile.go:122
FunctionTraceProfile
Trace profile enables execution tracing. It disables any previous profiling settings.
profile.go:118