blob: 6a61d793508b9b43de9e2462844590e3da421109 (
plain)
1
2
3
4
5
6
7
8
|
package profile_test
import "github.com/pkg/profile"
func ExampleTraceProfile() {
// use execution tracing, rather than the default cpu profiling.
defer profile.Start(profile.TraceProfile).Stop()
}
|