Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for profilem (0.15 sec)

  1. src/runtime/mprof.go

    // that are recorded and reported in the memory profile.
    // The profiler aims to sample an average of
    // one allocation per MemProfileRate bytes allocated.
    //
    // To include every allocated block in the profile, set MemProfileRate to 1.
    // To turn off profiling entirely, set MemProfileRate to 0.
    //
    // The tools that process the memory profiles assume that the
    // profile rate is constant across the lifetime of the program
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  2. src/runtime/pprof/pprof_test.go

    	}
    
    	for _, test := range tests {
    		t.Run(test.profiler, func(t *testing.T) {
    			var buf bytes.Buffer
    			if err := Lookup(test.profiler).WriteTo(&buf, 0); err != nil {
    				t.Fatalf("failed to write heap profile: %v", err)
    			}
    			p, err := profile.Parse(&buf)
    			if err != nil {
    				t.Fatalf("failed to parse heap profile: %v", err)
    			}
    			t.Logf("Profile = %v", p)
    
    			stks := stacks(p)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

                    .collect(Collectors.toMap(Profile::getId, Profile::getActivation));
        }
    
        private Model injectProfileActivations(Model model, Map<String, Activation> activations) {
            List<Profile> profiles = new ArrayList<>();
            boolean modified = false;
            for (Profile profile : model.getProfiles()) {
                Activation activation = profile.getActivation();
                if (activation != null) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Jun 07 07:31:02 UTC 2024
    - 61.9K bytes
    - Viewed (0)
  4. maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

            return resultModel;
        }
    
        private List<org.apache.maven.api.model.Profile> interpolateActivations(
                List<org.apache.maven.api.model.Profile> profiles,
                DefaultProfileActivationContext context,
                DefaultModelProblemCollector problems) {
            if (profiles.stream()
                    .map(org.apache.maven.api.model.Profile::getActivation)
                    .noneMatch(Objects::nonNull)) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue May 21 09:54:32 UTC 2024
    - 82.9K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java

                Set<String> profileIds = new HashSet<>();
    
                for (Profile profile : m.getProfiles()) {
                    String prefix = "profiles.profile[" + profile.getId() + "].";
    
                    validateProfileId(prefix, "id", problems, Severity.ERROR, Version.V40, profile.getId(), null, m);
    
                    if (!profileIds.add(profile.getId())) {
                        addViolation(
                                problems,
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Jun 10 11:04:53 UTC 2024
    - 73.9K bytes
    - Viewed (0)
  6. maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

                Set<String> profileIds = new HashSet<>();
    
                for (Profile profile : m.getProfiles()) {
                    String prefix = "profiles.profile[" + profile.getId() + "].";
    
                    validateProfileId(prefix, "id", problems, Severity.ERROR, Version.V40, profile.getId(), null, m);
    
                    if (!profileIds.add(profile.getId())) {
                        addViolation(
                                problems,
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sat May 18 14:09:22 UTC 2024
    - 76K bytes
    - Viewed (0)
  7. cmd/peer-rest-server.go

    		for _, p := range profiles {
    			if p == k {
    				v.Stop()
    				delete(globalProfiler, k)
    			}
    		}
    	}
    
    	for _, profiler := range profiles {
    		prof, err := startProfiler(profiler)
    		if err != nil {
    			s.writeErrorResponse(w, err)
    			return
    		}
    		globalProfiler[profiler] = prof
    	}
    }
    
    // DownloadProfilingDataHandler - returns profiled data.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                project.setArtifacts(artifacts);
    
                return resolutionResult;
            }
        }
    
        private List<String> getProfileIds(List<Profile> profiles) {
            return profiles.stream().map(Profile::getId).collect(Collectors.toList());
        }
    
        private static ModelSource createStubModelSource(Artifact artifact) {
            StringBuilder buffer = new StringBuilder(1024);
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 13 16:34:29 UTC 2024
    - 57.1K bytes
    - Viewed (0)
  9. src/cmd/go/internal/test/test.go

    	    setting runtime.MemProfileRate. See 'go doc runtime.MemProfileRate'.
    	    To profile all memory allocations, use -test.memprofilerate=1.
    
    	-mutexprofile mutex.out
    	    Write a mutex contention profile to the specified file
    	    when all tests are complete.
    	    Writes test binary as -c would.
    
    	-mutexprofilefraction n
    	    Sample 1 in n stack traces of goroutines holding a
    	    contended mutex.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/runtime/framework.go

    	}
    
    	if profile == nil {
    		return f, nil
    	}
    
    	f.profileName = profile.SchedulerName
    	f.percentageOfNodesToScore = profile.PercentageOfNodesToScore
    	if profile.Plugins == nil {
    		return f, nil
    	}
    
    	// get needed plugins from config
    	pg := f.pluginsNeeded(profile.Plugins)
    
    	pluginConfig := make(map[string]runtime.Object, len(profile.PluginConfig))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 60.9K bytes
    - Viewed (0)
Back to top