forked from TrueCloudLab/restic
8 lines
202 B
Go
8 lines
202 B
Go
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()
|
|
}
|