Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for pgo (0.02 sec)

  1. 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)
  2. 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)
  3. 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)
Back to top