- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for pgo (0.03 sec)
-
src/cmd/compile/internal/test/pgo_inl_test.go
return err } // TestPGOHash tests that PGO optimization decisions can be selected by pgohash. func TestPGOHash(t *testing.T) { testenv.MustHaveGoRun(t) t.Parallel() const pkg = "example.com/pgo/inline" wd, err := os.Getwd() if err != nil { t.Fatalf("error getting wd: %v", err) } srcDir := filepath.Join(wd, "testdata/pgo/inline")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 11.1K bytes - Viewed (0) -
src/cmd/dist/buildtool.go
// Also ignore test files. var ignoreSuffixes = []string{ "_test.s", "_test.go", // Skip PGO profile. No need to build toolchain1 compiler // with PGO. And as it is not a text file the import path // rewrite will break it. ".pgo", // Skip editor backup files. "~", } var tryDirs = []string{ "sdk/go1.17", "go1.17", }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 09 23:29:41 UTC 2024 - 11.5K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/block.go
HotPgo // By PGO-based heuristics, this block occurs in a hot loop HotNot = 0 HotInitialNotFlowIn = HotInitial | HotNotFlowIn // typically first block of a rotated loop, loop is entered with a branch (not to this block). No PGO
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 15:44:14 UTC 2024 - 12.2K bytes - Viewed (0) -
src/cmd/go/internal/work/action.go
return b.build(ctx, a) } // pgoActionID computes the action ID for a preprocess PGO action. func (b *Builder) pgoActionID(input string) cache.ActionID { h := cache.NewHash("preprocess PGO profile " + input) fmt.Fprintf(h, "preprocess PGO profile\n") fmt.Fprintf(h, "preprofile %s\n", b.toolID("preprofile")) fmt.Fprintf(h, "input %q\n", b.fileHash(input)) return h.Sum()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 15:39:17 UTC 2024 - 32.7K bytes - Viewed (0) -
src/cmd/compile/internal/inline/inlheur/scoring.go
// 76 -5n PROMOTED runtime.persistentalloc mcheckmark.go:48:45|3 inLoopAdj // 201 0 --- PGO unicode.DecodeRuneInString utf8.go:312:30|1 // 7 -5 --- PGO internal/abi.Name.DataChecked type.go:625:22|0 inLoopAdj // // In the dump above, "Score" is the final score calculated for the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 27 20:42:52 UTC 2024 - 24.2K bytes - Viewed (0) -
src/cmd/go/internal/work/build.go
included from, and overlays will not appear when binaries and tests are run through go run and go test respectively. -pgo file specify the file path of a profile for profile-guided optimization (PGO). When the special name "auto" is specified, for each main package in the build, the go command selects a file named "default.pgo" in the package's directory if that file exists, and applies it to the (transitive)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 17:22:59 UTC 2024 - 33.2K bytes - Viewed (0) -
src/runtime/stubs.go
// pointer from a well-known register (DX on x86 architecture, etc.) directly. // // WARNING: PGO-based devirtualization cannot detect that caller of // getclosureptr require closure context, and thus must maintain a list of // these functions, which is in // cmd/compile/internal/devirtualize/pgo.maybeDevirtualizeFunctionCall. func getclosureptr() uintptr //go:noescape
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 20.2K bytes - Viewed (0) -
src/cmd/go/internal/load/test.go
// See golang.org/issue/30907, golang.org/issue/34114. if p.Name == "main" && p != pmain && p != ptest { split() } // Split and attach PGO information to test dependencies if preal // is built with PGO. if preal.Internal.PGOProfile != "" && p.Internal.PGOProfile == "" { split() } } // Do search to find cycle.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 14:01:23 UTC 2024 - 28.2K bytes - Viewed (0) -
src/cmd/go/internal/work/buildid.go
return true } // Check to see if the action output is cached. if file, _, err := cache.GetFile(c, actionHash); err == nil { if a.Mode == "preprocess PGO profile" { // Preprocessed PGO profiles don't embed a build ID, so // skip the build ID lookup. // TODO(prattmic): better would be to add a build ID to the format. a.built = file a.Target = "DO NOT USE - using cache"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:31:25 UTC 2024 - 26.2K bytes - Viewed (0) -
src/cmd/go/internal/cfg/cfg.go
BuildN bool // -n flag BuildO string // -o flag BuildP = runtime.GOMAXPROCS(0) // -p flag BuildPGO string // -pgo flag BuildPkgdir string // -pkgdir flag BuildRace bool // -race flag BuildToolexec []string // -toolexec flag BuildToolchainName string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 17:13:51 UTC 2024 - 19.3K bytes - Viewed (0)