Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for IdleTime (0.1 sec)

  1. src/runtime/mgclimit.go

    	assistTime := l.assistTimePool.Load()
    	if assistTime != 0 {
    		l.assistTimePool.Add(-assistTime)
    	}
    
    	// Drain the pool of idle time.
    	idleTime := l.idleTimePool.Load()
    	if idleTime != 0 {
    		l.idleTimePool.Add(-idleTime)
    	}
    
    	if !l.test {
    		// Consume time from in-flight events. Make sure we're not preemptible so allp can't change.
    		//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 22:07:41 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  2. src/net/http/httptrace/trace.go

    	// used for another HTTP request.
    	Reused bool
    
    	// WasIdle is whether this connection was obtained from an
    	// idle pool.
    	WasIdle bool
    
    	// IdleTime reports how long the connection was previously
    	// idle, if WasIdle is true.
    	IdleTime time.Duration
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  3. src/runtime/mstats.go

    	// Update total CPU.
    	s.TotalTime = sched.totaltime + (now-sched.procresizetime)*int64(gomaxprocs)
    	s.IdleTime += sched.idleTime.Load()
    
    	// Compute userTime. We compute this indirectly as everything that's not the above.
    	//
    	// Since time spent in _Pgcstop is covered by gcPauseTime, and time spent in _Pidle
    	// is covered by idleTime, what we're left with is time spent in _Prunning and _Psyscall,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 21:03:13 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  4. src/runtime/lock_js.go

    // is running as was running when the call came in from JavaScript, execution can be safely passed back to JavaScript.
    func handleEvent() {
    	sched.idleTime.Add(nanotime() - idleStart)
    
    	e := &event{
    		gp:       getg(),
    		returned: false,
    	}
    	events = append(events, e)
    
    	if !eventHandler() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 21:02:20 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  5. api/go1.7.txt

    pkg net/http/httptrace, type DNSStartInfo struct, Host string
    pkg net/http/httptrace, type GotConnInfo struct
    pkg net/http/httptrace, type GotConnInfo struct, Conn net.Conn
    pkg net/http/httptrace, type GotConnInfo struct, IdleTime time.Duration
    pkg net/http/httptrace, type GotConnInfo struct, Reused bool
    pkg net/http/httptrace, type GotConnInfo struct, WasIdle bool
    pkg net/http/httptrace, type WroteRequestInfo struct
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 28 15:08:11 UTC 2016
    - 13.6K bytes
    - Viewed (0)
  6. src/runtime/metrics_test.go

    	}
    	total := gcTotal + scavTotal + stats.IdleTime + stats.UserTime
    	if total != stats.TotalTime {
    		t.Errorf("manually computed overall total does not match TotalTime: %d cpu-ns vs. %d cpu-ns", total, stats.TotalTime)
    	}
    	if total == 0 {
    		t.Error("total time is zero")
    	}
    	if gcTotal == 0 {
    		t.Error("GC total time is zero")
    	}
    	if stats.IdleTime == 0 {
    		t.Error("idle time is zero")
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 45K bytes
    - Viewed (0)
  7. src/runtime/metrics.go

    		},
    		"/cpu/classes/idle:cpu-seconds": {
    			deps: makeStatDepSet(cpuStatsDep),
    			compute: func(in *statAggregate, out *metricValue) {
    				out.kind = metricKindFloat64
    				out.scalar = float64bits(nsToSec(in.cpuStats.IdleTime))
    			},
    		},
    		"/cpu/classes/scavenge/assist:cpu-seconds": {
    			deps: makeStatDepSet(cpuStatsDep),
    			compute: func(in *statAggregate, out *metricValue) {
    				out.kind = metricKindFloat64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 21:03:13 UTC 2024
    - 26K bytes
    - Viewed (0)
  8. src/runtime/runtime2.go

    	// as the sum of time a G spends in the _Grunnable state before
    	// it transitions to _Grunning.
    	timeToRun timeHistogram
    
    	// idleTime is the total CPU time Ps have "spent" idle.
    	//
    	// Reset on each GC cycle.
    	idleTime atomic.Int64
    
    	// totalMutexWaitTime is the sum of time goroutines have spent in _Gwaiting
    	// with a waitreason of the form waitReasonSync{RW,}Mutex{R,}Lock.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  9. src/runtime/mgc.go

    	// these two may keep accumulating even if the GC is not active.
    	scavenge.assistTime.Store(0)
    	scavenge.backgroundTime.Store(0)
    
    	// Reset idle time stat.
    	sched.idleTime.Store(0)
    
    	if work.userForced {
    		memstats.numforcedgc++
    	}
    
    	// Bump GC cycle count and wake goroutines waiting on sweep.
    	lock(&work.sweepWaiters.lock)
    	memstats.numgc++
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
  10. src/net/http/transport_test.go

    		ctx := httptrace.WithClientTrace(context.Background(), &httptrace.ClientTrace{
    			GotConn: func(info httptrace.GotConnInfo) {
    				t.Logf("got conn: %v, reused=%v, wasIdle=%v, idleTime=%v", info.Conn.LocalAddr(), info.Reused, info.WasIdle, info.IdleTime)
    				atomic.AddUint32(&gotConns, 1)
    			},
    			TLSHandshakeDone: func(cfg tls.ConnectionState, err error) {
    				brokenState.Lock()
    				defer brokenState.Unlock()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
Back to top