Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,936 for contentions (0.18 sec)

  1. src/cmd/vendor/github.com/google/pprof/internal/driver/cli.go

    	}
    
    	si := cfg.SampleIndex
    	si = sampleIndex(flagTotalDelay, si, "delay", "-total_delay", o.UI)
    	si = sampleIndex(flagMeanDelay, si, "delay", "-mean_delay", o.UI)
    	si = sampleIndex(flagContentions, si, "contentions", "-contentions", o.UI)
    	si = sampleIndex(flagInUseSpace, si, "inuse_space", "-inuse_space", o.UI)
    	si = sampleIndex(flagInUseObjects, si, "inuse_objects", "-inuse_objects", o.UI)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 16:39:48 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  2. src/net/http/pprof/pprof_test.go

    	}
    
    	t.Logf("Output as parsed Profile: %s", p)
    
    	if len(p.SampleType) != 2 {
    		t.Errorf("len(p.SampleType) got %d want 2", len(p.SampleType))
    	}
    	if p.SampleType[0].Type != "contentions" {
    		t.Errorf(`p.SampleType[0].Type got %q want "contentions"`, p.SampleType[0].Type)
    	}
    	if p.SampleType[0].Unit != "count" {
    		t.Errorf(`p.SampleType[0].Unit got %q want "count"`, p.SampleType[0].Unit)
    	}
    	if p.SampleType[1].Type != "delay" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 07 19:52:28 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/google/pprof/profile/legacy_java_profile.go

    			case "heap/format", "cpu/format", "contention/format":
    				if value != "java" {
    					return nil, errUnrecognized
    				}
    			case "heap/resolution":
    				p.SampleType = []*ValueType{
    					{Type: "inuse_objects", Unit: "count"},
    					{Type: "inuse_space", Unit: value},
    				}
    			case "contention/resolution":
    				p.SampleType = []*ValueType{
    					{Type: "contentions", Unit: "count"},
    					{Type: "delay", Unit: value},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  4. src/internal/trace/traceviewer/pprof.go

    }
    
    func BuildProfile(prof []ProfileRecord) *profile.Profile {
    	p := &profile.Profile{
    		PeriodType: &profile.ValueType{Type: "trace", Unit: "count"},
    		Period:     1,
    		SampleType: []*profile.ValueType{
    			{Type: "contentions", Unit: "count"},
    			{Type: "delay", Unit: "nanoseconds"},
    		},
    	}
    	locs := make(map[uint64]*profile.Location)
    	funcs := make(map[string]*profile.Function)
    	for _, rec := range prof {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 21:28:02 UTC 2023
    - 4K bytes
    - Viewed (0)
  5. src/cmd/vendor/github.com/google/pprof/profile/legacy_profile.go

    	switch l := s.Text(); {
    	case strings.HasPrefix(l, "--- contentionz "):
    	case strings.HasPrefix(l, "--- mutex:"):
    	case strings.HasPrefix(l, "--- contention:"):
    	default:
    		return nil, errUnrecognized
    	}
    
    	p := &Profile{
    		PeriodType: &ValueType{Type: "contentions", Unit: "count"},
    		Period:     1,
    		SampleType: []*ValueType{
    			{Type: "contentions", Unit: "count"},
    			{Type: "delay", Unit: "nanoseconds"},
    		},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 18:58:12 UTC 2022
    - 32.8K bytes
    - Viewed (0)
  6. src/runtime/pprof/pprof_test.go

    						runtimeInternal = true
    					}
    				}
    			}
    			if match && !runtimeInternal {
    				contentions += s.Value[0]
    				delay += s.Value[1]
    			}
    		}
    		return
    	}
    
    	blockMutex(t)
    	contentions, delay := readProfile()
    	if contentions == 0 || delay == 0 {
    		t.Fatal("did not see expected function in profile")
    	}
    	runtime.SetMutexProfileFraction(0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
  7. src/runtime/pprof/pprof.go

    //
    // # Mutex profile
    //
    // The mutex profile tracks contention on mutexes, such as [sync.Mutex],
    // [sync.RWMutex], and runtime-internal locks.
    //
    // Stack traces correspond to the end of the critical section causing
    // contention. For example, a lock held for a long time while other goroutines
    // are waiting to acquire the lock will report contention when the lock is
    // finally unlocked (that is, at [sync.Mutex.Unlock]).
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  8. platforms/core-configuration/declarative-dsl-provider/src/main/kotlin/org/gradle/internal/declarativedsl/conventions/conventions.kt

        Convention<AdditionRecordConventionReceiver> {
        override fun apply(receiver: AdditionRecordConventionReceiver) {
            receiver.receive(dataAdditionRecord)
        }
    }
    
    
    /**
     * A convention that applies a nested object access operation (e.g. foo { }).
     */
    class NestedObjectAccessConvention(private val nestedObjectAccessRecord: NestedObjectAccessRecord) :
        Convention<NestedObjectAccessRecordConventionReceiver> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:47 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/samples/build-organization/multi-project-with-convention-plugins/groovy/buildSrc/src/main/groovy/myproject.library-conventions.gradle

    // Define Java Library conventions for this organization.
    // Projects need to use the organization's Java conventions and publish using Maven Publish
    
    // tag::plugins[]
    plugins {
        id 'java-library'
        id 'maven-publish'
        id 'myproject.java-conventions'
    }
    // end::plugins[]
    
    // Projects have the 'com.example' group by convention
    group = 'com.example'
    
    publishing {
        publications {
            library(MavenPublication) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/extensibility/DefaultConventionTest.groovy

            assertSame(convention1, convention.getPlugin(TestPluginConvention1))
            assertSame(convention2, convention.getPlugin(TestPluginConvention2))
            assertSame(convention1, convention.findPlugin(TestPluginConvention1))
            assertSame(convention2, convention.findPlugin(TestPluginConvention2))
        }
    
        @Test void testGetPluginFailsWhenMultipleConventionObjectsWithCompatibleType() {
            try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 7K bytes
    - Viewed (0)
Back to top