2
2
mirror of https://github.com/octoleo/restic.git synced 2024-06-10 12:52:21 +00:00
restic/vendor/src/github.com/pkg/profile/trace_test.go
2017-07-17 20:00:44 +02:00

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