Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 79 for PROCS (0.1 sec)

  1. src/cmd/trace/jsontrace_test.go

    			checkExecutionTimes(t, data)
    			checkPlausibleHeapMetrics(t, data)
    			// TODO(mknyszek): Check for plausible thread and goroutine metrics.
    			checkMetaNamesEmitted(t, data, "process_name", []string{"STATS", "PROCS"})
    			checkMetaNamesEmitted(t, data, "thread_name", []string{"GC", "Network", "Timers", "Syscalls", "Proc 0"})
    			checkProcStartStop(t, data)
    			checkSyscalls(t, data)
    			checkNetworkUnblock(t, data)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. src/runtime/mgcpacer.go

    	// *always* free to take it.
    	//
    	// So this calculation is really:
    	//     (heapLive-trigger) / (assistDuration * procs * (1-utilization)) /
    	//         (scanWork) / (assistDuration * procs * (utilization+idleUtilization))
    	//
    	// Note that because we only care about the ratio, assistDuration and procs cancel out.
    	scanWork := c.heapScanWork.Load() + c.stackScanWork.Load() + c.globalsScanWork.Load()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  3. pkg/util/oom/oom_linux.go

    		// The fork might copy the parent process's old OOM score, then this function might execute and
    		// update the parent's OOM score, but the forked process id might not be reflected in cgroup.procs
    		// for a short amount of time. So this function might return without changing the forked process's
    		// OOM score. Very unlikely race, so ignoring this for now.
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 20 07:13:28 UTC 2022
    - 4K bytes
    - Viewed (0)
  4. src/runtime/lock_futex.go

    //		Atomically,
    //			if *addr == val { sleep }
    //		Might be woken up spuriously; that's allowed.
    //		Don't sleep longer than ns; ns < 0 means forever.
    //
    //	futexwakeup(addr *uint32, cnt uint32)
    //		If any procs are sleeping on addr, wake up at most cnt.
    
    const (
    	mutex_unlocked = 0
    	mutex_locked   = 1
    	mutex_sleeping = 2
    
    	active_spin     = 4
    	active_spin_cnt = 30
    	passive_spin    = 1
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:34 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. src/runtime/traceruntime.go

    }
    
    // Gomaxprocs emits a ProcsChange event.
    func (tl traceLocker) Gomaxprocs(procs int32) {
    	tl.eventWriter(traceGoRunning, traceProcRunning).commit(traceEvProcsChange, traceArg(procs), tl.stack(1))
    }
    
    // ProcStart traces a ProcStart event.
    //
    // Must be called with a valid P.
    func (tl traceLocker) ProcStart() {
    	pp := tl.mp.p.ptr()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  6. src/runtime/proc_test.go

    }
    
    func benchmarkCreateGoroutines(b *testing.B, procs int) {
    	c := make(chan bool)
    	var f func(n int)
    	f = func(n int) {
    		if n == 0 {
    			c <- true
    			return
    		}
    		go f(n - 1)
    	}
    	for i := 0; i < procs; i++ {
    		go f(b.N / procs)
    	}
    	for i := 0; i < procs; i++ {
    		<-c
    	}
    }
    
    func BenchmarkCreateGoroutinesCapture(b *testing.B) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 25.8K bytes
    - Viewed (0)
  7. src/net/rpc/server_test.go

    	}
    	defer client.Close()
    
    	// Asynchronous calls
    	args := &Args{7, 8}
    	procs := 4 * runtime.GOMAXPROCS(-1)
    	send := int32(b.N)
    	recv := int32(b.N)
    	var wg sync.WaitGroup
    	wg.Add(procs)
    	gate := make(chan bool, MaxConcurrentCalls)
    	res := make(chan *Call, MaxConcurrentCalls)
    	b.ResetTimer()
    
    	for p := 0; p < procs; p++ {
    		go func() {
    			for atomic.AddInt32(&send, -1) >= 0 {
    				gate <- true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 18 05:23:29 UTC 2023
    - 19K bytes
    - Viewed (0)
  8. src/cmd/trace/threadgen.go

    		// running threads with running Ps.
    		ctx.IncThreadStateCount(ctx.elapsed(start), traceviewer.ThreadStateRunning, -1)
    	}
    	// TODO(mknyszek): Consider modeling procs differently and have them be
    	// transition to and from NotExist when GOMAXPROCS changes. We can emit
    	// events for this to clearly delineate GOMAXPROCS changes.
    
    	if viewerEv.Name != "" {
    		ctx.Instant(viewerEv)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. src/syscall/ztypes_linux_ppc64le.go

    }
    
    type Sysinfo_t struct {
    	Uptime    int64
    	Loads     [3]uint64
    	Totalram  uint64
    	Freeram   uint64
    	Sharedram uint64
    	Bufferram uint64
    	Totalswap uint64
    	Freeswap  uint64
    	Procs     uint16
    	Pad       uint16
    	Pad_cgo_0 [4]byte
    	Totalhigh uint64
    	Freehigh  uint64
    	Unit      uint32
    	X_f       [0]uint8
    	Pad_cgo_1 [4]byte
    }
    
    type Utsname struct {
    	Sysname    [65]uint8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:49 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go

    }
    
    type Sysinfo_t struct {
    	Uptime    int64
    	Loads     [3]uint64
    	Totalram  uint64
    	Freeram   uint64
    	Sharedram uint64
    	Bufferram uint64
    	Totalswap uint64
    	Freeswap  uint64
    	Procs     uint16
    	Pad       uint16
    	Totalhigh uint64
    	Freehigh  uint64
    	Unit      uint32
    	_         [0]int8
    	_         [4]byte
    }
    
    type Ustat_t struct {
    	Tfree  int32
    	Tinode uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top