- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 50 for approx (0.13 sec)
-
src/cmd/covdata/covdata.go
} return false } } if *cpuprofileflag != "" { f, err := os.Create(*cpuprofileflag) if err != nil { fatal("%v", err) } if err := pprof.StartCPUProfile(f); err != nil { fatal("%v", err) } atExit(func() { pprof.StopCPUProfile() if err = f.Close(); err != nil { fatal("error closing cpu profile: %v", err) } }) } if *memprofileflag != "" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 5.7K bytes - Viewed (0) -
src/testing/internal/testdeps/deps.go
} } return matchRe.MatchString(str), nil } func (TestDeps) StartCPUProfile(w io.Writer) error { return pprof.StartCPUProfile(w) } func (TestDeps) StopCPUProfile() { pprof.StopCPUProfile() } func (TestDeps) WriteProfileTo(name string, w io.Writer, debug int) error { return pprof.Lookup(name).WriteTo(w, debug) } // ImportPath is the import path of the testing binary, set by the generated main function.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 14:01:23 UTC 2024 - 6.2K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/driver/settings.go
func settingsFileName() (string, error) { // Return "pprof/settings.json" under os.UserConfigDir(). dir, err := os.UserConfigDir() if err != nil { return "", err } return filepath.Join(dir, "pprof", "settings.json"), nil } // readSettings reads settings from fname. func readSettings(fname string) (*settings, error) { data, err := os.ReadFile(fname) if err != nil { if os.IsNotExist(err) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 4.2K bytes - Viewed (0) -
src/runtime/proflabel.go
// - github.com/cloudwego/localsession // - github.com/DataDog/datadog-agent // // Do not remove or change the type signature. // See go.dev/issue/67401. // //go:linkname runtime_setProfLabel runtime/pprof.runtime_setProfLabel func runtime_setProfLabel(labels unsafe.Pointer) { // Introduce race edge for read-back via profile. // This would more properly use &getg().labels as the sync address,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 2.1K bytes - Viewed (0) -
src/cmd/compile/internal/test/pgo_devirtualize_test.go
"fmt" "internal/testenv" "os" "path/filepath" "regexp" "testing" ) type devirtualization struct { pos string callee string } const profFileName = "devirt.pprof" const preProfFileName = "devirt.pprof.node_map" // testPGODevirtualize tests that specific PGO devirtualize rewrites are performed. func testPGODevirtualize(t *testing.T, dir string, want []devirtualization, pgoProfileName string) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 15 21:30:35 UTC 2024 - 8.5K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/driver/stacks.go
// limitations under the License. package driver import ( "encoding/json" "html/template" "net/http" "github.com/google/pprof/internal/measurement" "github.com/google/pprof/internal/report" ) // stackView generates the flamegraph view. func (ui *webInterface) stackView(w http.ResponseWriter, req *http.Request) { // Get all data in a report.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 1.7K bytes - Viewed (0) -
src/cmd/go.mod
module cmd go 1.23 require ( github.com/google/pprof v0.0.0-20240528025155-186aa0362fba golang.org/x/arch v0.8.0 golang.org/x/build v0.0.0-20240603162849-5dfbda438323 golang.org/x/mod v0.18.0 golang.org/x/sync v0.7.0 golang.org/x/sys v0.21.0 golang.org/x/telemetry v0.0.0-20240603224550-f2b69109f79b golang.org/x/term v0.20.0 golang.org/x/tools v0.21.1-0.20240604144337-208808308b70 ) require (
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 595 bytes - Viewed (0) -
src/cmd/go.sum
github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/pprof v0.0.0-20240528025155-186aa0362fba h1:ql1qNgCyOB7iAEk8JTNM+zJrgIbnyCKX/wdlyPufP5g= github.com/google/pprof v0.0.0-20240528025155-186aa0362fba/go.mod h1:K1liHPHnj73Fdn/EKuT8nrFqBihUSKXoLYU0BuatOYo=
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 2.5K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/driver/webhtml.go
package driver import ( "embed" "fmt" "html/template" "os" "sync" "github.com/google/pprof/internal/report" ) var ( htmlTemplates *template.Template // Lazily loaded templates htmlTemplateInit sync.Once ) // getHTMLTemplates returns the set of HTML templates used by pprof, // initializing them if necessary. func getHTMLTemplates() *template.Template { htmlTemplateInit.Do(func() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 2.6K bytes - Viewed (0) -
src/runtime/pprof/pprof_norusage.go
// Copyright 2019 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build !unix && !windows package pprof import ( "io" ) // Stub call for platforms that don't support rusage. func addMaxRSS(w io.Writer) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 19 11:20:31 UTC 2024 - 309 bytes - Viewed (0)