Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for IdleTime (0.17 sec)

  1. 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)
  2. src/net/http/transport.go

    			info := httptrace.GotConnInfo{
    				Conn:   r.pc.conn,
    				Reused: r.pc.isReused(),
    			}
    			if !r.idleAt.IsZero() {
    				info.WasIdle = true
    				info.IdleTime = time.Since(r.idleAt)
    			}
    			trace.GotConn(info)
    		}
    		if r.err != nil {
    			// If the request has been canceled, that's probably
    			// what caused r.err; if so, prefer to return the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
Back to top