1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2024-12-29 11:16:31 +00:00
restic/vendor/github.com/pkg/profile/trace_test.go
2017-07-23 14:25:38 +02:00

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()
}