- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 903 for prof (0.04 sec)
-
pkg/scheduler/apis/config/v1/defaults.go
func setDefaults_KubeSchedulerProfile(logger klog.Logger, prof *configv1.KubeSchedulerProfile) { // Set default plugins. prof.Plugins = mergePlugins(logger, getDefaultPlugins(), prof.Plugins) // Set default plugin configs. scheme := GetPluginArgConversionScheme() existingConfigs := sets.New[string]() for j := range prof.PluginConfig { existingConfigs.Insert(prof.PluginConfig[j].Name) args := prof.PluginConfig[j].Args.Object
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 13 07:42:19 UTC 2023 - 7.2K bytes - Viewed (0) -
src/runtime/mprof.go
mp := acquirem() prof.disabled = true nstk := int(debug.profstackdepth) for i := 0; i < nstk; i++ { if pc := prof.stack[i]; pc == 0 { nstk = i break } } cycles, lost := prof.cycles, prof.cyclesLost prof.cycles, prof.cyclesLost = 0, 0 rate := int64(atomic.Load64(&mutexprofilerate)) saveBlockEventStack(cycles, rate, prof.stack[:nstk], mutexProfile) if lost > 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:57:37 UTC 2024 - 53.3K bytes - Viewed (0) -
src/cmd/compile/profile.sh
dir=$(mktemp -d) cd $dir seed=$(date) for p in $(go list std cmd); do h=$(echo $seed $p | md5sum | cut -d ' ' -f 1) echo $p $h go build -o /dev/null -gcflags=-cpuprofile=$PWD/prof.$h $p done go tool pprof -proto prof.* > $(go env GOROOT)/src/cmd/compile/default.pgo
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 23 17:31:10 UTC 2023 - 588 bytes - Viewed (0) -
src/runtime/pprof/pprof_test.go
Lookup("mutex").WriteTo(&w, 1) prof := w.String() t.Logf("received profile: %v", prof) if !strings.HasPrefix(prof, "--- mutex:\ncycles/second=") { t.Errorf("Bad profile header:\n%v", prof) } prof = strings.Trim(prof, "\n") lines := strings.Split(prof, "\n") if len(lines) < 6 { t.Fatalf("expected >=6 lines, got %d %q\n%s", len(lines), prof, prof) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 68.8K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/driver/driver_focus.go
import ( "fmt" "regexp" "strconv" "strings" "github.com/google/pprof/internal/measurement" "github.com/google/pprof/internal/plugin" "github.com/google/pprof/profile" ) var tagFilterRangeRx = regexp.MustCompile("([+-]?[[:digit:]]+)([[:alpha:]]+)?") // applyFocus filters samples based on the focus/ignore options func applyFocus(prof *profile.Profile, numLabelUnits map[string]string, cfg config, ui plugin.UI) error {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 22 23:33:06 UTC 2020 - 6.4K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/symbolizer/symbolizer.go
return fp } functions[*f] = f f.ID = uint64(len(prof.Function)) + 1 prof.Function = append(prof.Function, f) return f } missingBinaries := false mappingLocs := map[*profile.Mapping][]*profile.Location{} for _, l := range prof.Location { mappingLocs[l.Mapping] = append(mappingLocs[l.Mapping], l) } for midx, m := range prof.Mapping { locs := mappingLocs[m] if len(locs) == 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 10K bytes - Viewed (0) -
pkg/scheduler/apis/config/v1/conversion.go
func convertToInternalPluginConfigArgs(out *config.KubeSchedulerConfiguration) error { scheme := GetPluginArgConversionScheme() for i := range out.Profiles { prof := &out.Profiles[i] for j := range prof.PluginConfig { args := prof.PluginConfig[j].Args if args == nil { continue } if _, isUnknown := args.(*runtime.Unknown); isUnknown { continue }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 29 00:47:48 UTC 2022 - 3.6K bytes - Viewed (0) -
cmd/utils.go
} dst := make(map[string][]byte, len(globalProfiler)) for typ, prof := range globalProfiler { // Stop the profiler var err error buf, err := prof.Stop() delete(globalProfiler, typ) if err == nil { dst[typ+"."+prof.Extension()] = buf } for name, buf := range prof.Records() { if len(buf) > 0 { dst[typ+"-"+name+"."+prof.Extension()] = buf } } } return dst, nil }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed Jun 05 22:00:34 UTC 2024 - 31.9K bytes - Viewed (0) -
maven-api-impl/src/test/java/org/apache/maven/internal/impl/DefaultSettingsValidatorTest.java
assertTrue(msg.contains(substring), "\"" + substring + "\" was not found in: " + msg); } @Test void testValidate() { Profile prof = Profile.newBuilder().id("xxx").build(); Settings model = Settings.newBuilder().profiles(List.of(prof)).build(); List<BuilderProblem> problems = validator.validate(model); assertEquals(0, problems.size());
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon Mar 25 10:50:01 UTC 2024 - 8.6K bytes - Viewed (0) -
src/runtime/cpuprof.go
} } // CPUProfile panics. // It formerly provided raw access to chunks of // a pprof-format profile generated by the runtime. // The details of generating that format have changed, // so this functionality has been removed. // // Deprecated: Use the [runtime/pprof] package, // or the handlers in the [net/http/pprof] package, // or the [testing] package's -test.cpuprofile flag instead. func CPUProfile() []byte {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 8.5K bytes - Viewed (0)