Vendor github.com/pkg/profile

This commit is contained in:
Alexander Neumann
2017-01-23 17:41:07 +01:00
parent 668a36a652
commit 84255f4f4f
10 changed files with 685 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
// +build go1.7
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()
}