- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 31 for cpuprofile (0.32 sec)
-
src/cmd/vendor/github.com/google/pprof/profile/legacy_profile.go
if tmp != nil && n1 == 0 && n2 == 3 && n3 == 0 && n4 > 0 && n5 == 0 { b = tmp return cpuProfile(b, int64(n4), parse) } if tmp != nil && n1 == 0 && n2 == 3 && n3 == 1 && n4 > 0 && n5 == 0 { b = tmp return javaCPUProfile(b, int64(n4), parse) } } return nil, errUnrecognized } // cpuProfile returns a new Profile from C++ profilez data.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 22 18:58:12 UTC 2022 - 32.8K bytes - Viewed (0) -
src/testing/testing.go
memProfile = flag.String("test.memprofile", "", "write an allocation profile to `file`") memProfileRate = flag.Int("test.memprofilerate", 0, "set memory allocation profiling `rate` (see runtime.MemProfileRate)") cpuProfile = flag.String("test.cpuprofile", "", "write a cpu profile to `file`") blockProfile = flag.String("test.blockprofile", "", "write a goroutine blocking profile to `file`")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 76.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/internal/analysisflags/flags.go
flag.VisitAll(func(f *flag.Flag) { // Don't report {single,multi}checker debugging // flags or fix as these have no effect on unitchecker // (as invoked by 'go vet'). switch f.Name { case "debug", "cpuprofile", "memprofile", "trace", "fix": return } b, ok := f.Value.(interface{ IsBoolFlag() bool }) isBool := ok && b.IsBoolFlag() flags = append(flags, jsonFlag{f.Name, isBool, f.Usage}) })
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 22 19:00:13 UTC 2024 - 12.1K bytes - Viewed (0) -
src/runtime/pprof/proto_test.go
"internal/testenv" "os" "os/exec" "reflect" "runtime" "strings" "testing" "unsafe" ) // translateCPUProfile parses binary CPU profiling stack trace data // generated by runtime.CPUProfile() into a profile struct. // This is only used for testing. Real conversions stream the // data into the profileBuilder as it becomes available. // // count is the number of records in data.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 31 23:21:53 UTC 2024 - 17K bytes - Viewed (0) -
src/os/signal/doc.go
SIGTTOU signal gets the system default behavior (these signals are used by the shell for job control). The SIGPROF signal is handled directly by the Go runtime to implement runtime.CPUProfile. Other signals will be caught but no action will be taken. If the Go program is started with either SIGHUP or SIGINT ignored (signal handler set to SIG_IGN), they will remain ignored.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 18:11:00 UTC 2024 - 11K bytes - Viewed (0) -
src/cmd/go/internal/test/test.go
before invoking the test binary. For instance, the command go test -v -myflag testdata -cpuprofile=prof.out -x will compile the test binary and then run it as pkg.test -test.v -myflag testdata -test.cpuprofile=prof.out (The -x flag is removed because it applies only to the go command's execution, not to the test itself.)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 14:34:32 UTC 2024 - 71.9K bytes - Viewed (0) -
src/cmd/go/alldocs.go
// before invoking the test binary. // // For instance, the command // // go test -v -myflag testdata -cpuprofile=prof.out -x // // will compile the test binary and then run it as // // pkg.test -test.v -myflag testdata -test.cpuprofile=prof.out // // (The -x flag is removed because it applies only to the go command's // execution, not to the test itself.) //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 16:54:28 UTC 2024 - 142.4K bytes - Viewed (0) -
src/net/http/serve_test.go
// The client code runs in a subprocess. // // For use like: // // $ go test -c // $ ./http.test -test.run='^$' -test.bench='^BenchmarkServer$' -test.benchtime=15s -test.cpuprofile=http.prof // $ go tool pprof http.test http.prof // (pprof) web func BenchmarkServer(b *testing.B) { b.ReportAllocs() // Child process mode; if url := os.Getenv("TEST_BENCH_SERVER_URL"); url != "" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 17:57:01 UTC 2024 - 202K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"BlockProfileRecord", Type, 1}, {"BlockProfileRecord.Count", Field, 1}, {"BlockProfileRecord.Cycles", Field, 1}, {"BlockProfileRecord.StackRecord", Field, 1}, {"Breakpoint", Func, 0}, {"CPUProfile", Func, 0}, {"Caller", Func, 0}, {"Callers", Func, 0}, {"CallersFrames", Func, 7}, {"Compiler", Const, 0}, {"Error", Type, 0}, {"Frame", Type, 7}, {"Frame.Entry", Field, 7},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0) -
api/go1.16.txt
pkg os, const SEEK_CUR //deprecated pkg os, const SEEK_END //deprecated pkg os, const SEEK_SET //deprecated pkg path/filepath, func HasPrefix //deprecated pkg regexp, method (*Regexp) Copy //deprecated pkg runtime, func CPUProfile //deprecated pkg syscall (darwin-amd64), func BpfBuflen //deprecated pkg syscall (darwin-amd64), func BpfDatalink //deprecated pkg syscall (darwin-amd64), func BpfHeadercmpl //deprecated
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 02 16:30:41 UTC 2022 - 479.2K bytes - Viewed (0)