- Sort Score
- Result 10 results
- Languages All
Results 11 - 19 of 19 for pgo (0.06 sec)
-
src/cmd/go/internal/load/pkg.go
// their dependencies). setToolFlags(pkgs...) setPGOProfilePath(pkgs) return pkgs } // setPGOProfilePath sets the PGO profile path for pkgs. // In -pgo=auto mode, it finds the default PGO profile. func setPGOProfilePath(pkgs []*Package) { updateBuildInfo := func(p *Package, file string) { // Don't create BuildInfo for packages that didn't already have it.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 28 17:00:51 UTC 2024 - 120K 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) -
src/cmd/dist/build.go
// Now that cmd/go is in charge of the build process, enable GOEXPERIMENT. os.Setenv("GOEXPERIMENT", goexperiment) // No need to enable PGO for toolchain2. goInstall(toolenv(), goBootstrap, append([]string{"-pgo=off"}, toolchain...)...) if debug { run("", ShowOutput|CheckExit, pathf("%s/compile", tooldir), "-V=full")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 18:34:40 UTC 2024 - 54K bytes - Viewed (0) -
src/cmd/go/internal/work/exec.go
return fmt.Errorf("marshal embedcfg: %v", err) } embedcfg = js } // Find PGO profile if needed. var pgoProfile string for _, a1 := range a.Deps { if a1.Mode != "preprocess PGO profile" { continue } if pgoProfile != "" { return fmt.Errorf("action contains multiple PGO profile dependencies") } pgoProfile = a1.built }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 14:46:37 UTC 2024 - 105.6K bytes - Viewed (0) -
src/cmd/go/alldocs.go
// 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: Tue Jun 11 16:54:28 UTC 2024 - 142.4K bytes - Viewed (0) -
src/cmd/compile/internal/ssagen/ssa.go
// So far this has only been shown profitable for PGO-hot loop headers. // The Hotness values allows distinctions betwen initial blocks that are "hot" or not, and "flow-in" or not. // Currently only the initial blocks of loops are tagged in this way; // there are no blocks tagged "pgo-hot" that are not also tagged "initial". // TODO more heuristics, more architectures.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 19:44:43 UTC 2024 - 284.9K bytes - Viewed (0)