Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for npidle (0.19 sec)

  1. src/runtime/proc.go

    		timerpMask.clear(pp.id)
    	}
    	idlepMask.set(pp.id)
    	pp.link = sched.pidle
    	sched.pidle.set(pp)
    	sched.npidle.Add(1)
    	if !pp.limiterEvent.start(limiterEventIdle, now) {
    		throw("must be able to track idle limiter event")
    	}
    	return now
    }
    
    // pidleget tries to get a p from the _Pidle list, acquiring ownership.
    //
    // sched.lock must be held.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  2. src/runtime/runtime2.go

    	pollUntil atomic.Int64 // time to which current poll is sleeping
    
    	lock mutex
    
    	// When increasing nmidle, nmidlelocked, nmsys, or nmfreed, be
    	// sure to call checkdead().
    
    	midle        muintptr // idle m's waiting for work
    	nmidle       int32    // number of idle m's waiting for work
    	nmidlelocked int32    // number of locked m's waiting for work
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/DaemonStateCoordinatorTest.groovy

            0 * _._
        }
    
        def "idle millis is 0 if daemon is busy"() {
            given:
            Runnable command = Mock()
    
            when:
            coordinator.runCommand(command, "some command")
    
            then:
            1 * command.run() >> {
                coordinator.getIdleMillis() == 0L
            }
        }
    
        def "idle millis is > 0 when daemon is idle"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 05 22:24:02 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  4. pkg/controller/clusterroleaggregation/clusterroleaggregation_controller.go

    	result.NonResourceURLs = rule.NonResourceURLs
    	result.Verbs = rule.Verbs
    	return result
    }
    
    func ruleExists(haystack []rbacv1.PolicyRule, needle rbacv1.PolicyRule) bool {
    	for _, curr := range haystack {
    		if equality.Semantic.DeepEqual(curr, needle) {
    			return true
    		}
    	}
    	return false
    }
    
    // Run starts the controller and blocks until stopCh is closed.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. src/slices/slices.go

    }
    
    // startIdx returns the index in haystack where the needle starts.
    // prerequisite: the needle must be aliased entirely inside the haystack.
    func startIdx[E any](haystack, needle []E) int {
    	p := &needle[0]
    	for i := range haystack {
    		if p == &haystack[i] {
    			return i
    		}
    	}
    	// TODO: what if the overlap is by a non-integral number of Es?
    	panic("needle not found")
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 29 14:01:59 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  6. cmd/metrics-v3-system-cpu.go

    	// stores them in resourceMetricsMap. We can use it to get the Avg values of CPU idle and IOWait.
    	cpuResourceMetrics, found := resourceMetricsMap[cpuSubsystem]
    	if found {
    		if cpuIdleMetric, ok := cpuResourceMetrics[getResourceKey(cpuIdle, nil)]; ok {
    			avgVal := math.Round(cpuIdleMetric.Avg*100) / 100
    			m.Set(sysCPUAvgIdle, avgVal)
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Apr 23 23:56:12 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. src/runtime/tracestatus.go

    func (w traceWriter) writeProcStatusForP(pp *p, inSTW bool) traceWriter {
    	if !pp.trace.acquireStatus(w.gen) {
    		return w
    	}
    	var status traceProcStatus
    	switch pp.status {
    	case _Pidle, _Pgcstop:
    		status = traceProcIdle
    		if pp.status == _Pgcstop && inSTW {
    			// N.B. a P that is running and currently has the world stopped will be
    			// in _Pgcstop, but we model it as running in the tracer.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:03:35 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  8. cmd/metrics-resource.go

    	interfaceTxErrors MetricName = "tx_errors"
    
    	// cpu stats
    	cpuUser       MetricName = "user"
    	cpuSystem     MetricName = "system"
    	cpuIOWait     MetricName = "iowait"
    	cpuIdle       MetricName = "idle"
    	cpuNice       MetricName = "nice"
    	cpuSteal      MetricName = "steal"
    	cpuLoad1      MetricName = "load1"
    	cpuLoad5      MetricName = "load5"
    	cpuLoad15     MetricName = "load15"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 17 15:15:13 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  9. src/net/tcpconn_keepalive_conf_solaris_test.go

    		Enable:   true,
    		Idle:     20 * time.Second,
    		Interval: -1,
    		Count:    10,
    	},
    	{
    		Enable:   true,
    		Idle:     20 * time.Second,
    		Interval: 10 * time.Second,
    		Count:    -1,
    	},
    	{
    		Enable:   true,
    		Idle:     -1,
    		Interval: -1,
    		Count:    10,
    	},
    	{
    		Enable:   true,
    		Idle:     -1,
    		Interval: 10 * time.Second,
    		Count:    -1,
    	},
    	{
    		Enable:   true,
    		Idle:     20 * time.Second,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 03:10:07 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. src/strings/strings_test.go

    	{"", "a", false},
    
    	// cases to cover code in runtime/asm_amd64.s:indexShortStr
    	// 2-byte needle
    	{"xxxxxx", "01", false},
    	{"01xxxx", "01", true},
    	{"xx01xx", "01", true},
    	{"xxxx01", "01", true},
    	{"01xxxxx"[1:], "01", false},
    	{"xxxxx01"[:6], "01", false},
    	// 3-byte needle
    	{"xxxxxxx", "012", false},
    	{"012xxxx", "012", true},
    	{"xx012xx", "012", true},
    	{"xxxx012", "012", true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 53K bytes
    - Viewed (0)
Back to top