Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 79 for PROCS (0.04 sec)

  1. src/testing/fuzz.go

    	m := newMatcher(deps.MatchString, *match, "-test.run", *skip)
    	var mFuzz *matcher
    	if *matchFuzz != "" {
    		mFuzz = newMatcher(deps.MatchString, *matchFuzz, "-test.fuzz", *skip)
    	}
    
    	for _, procs := range cpuList {
    		runtime.GOMAXPROCS(procs)
    		for i := uint(0); i < *count; i++ {
    			if shouldFailFast() {
    				break
    			}
    
    			tctx := newTestContext(*parallel, m)
    			tctx.deadline = deadline
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  2. src/internal/trace/event/go122/event.go

    	EvCPUSamples // start of a section of CPU samples [...EvCPUSample]
    	EvCPUSample  // CPU profiling sample [timestamp, M ID, P ID, goroutine ID, stack ID]
    	EvFrequency  // timestamp units per sec [freq]
    
    	// Procs.
    	EvProcsChange // current value of GOMAXPROCS [timestamp, GOMAXPROCS, stack ID]
    	EvProcStart   // start of P [timestamp, P ID, P seq]
    	EvProcStop    // stop of P [timestamp]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  3. src/sync/atomic/atomic_test.go

    		hammerStoreLoadInt64, hammerStoreLoadUint64,
    		hammerStoreLoadInt64Method, hammerStoreLoadUint64Method,
    	}
    	n := int(1e6)
    	if testing.Short() {
    		n = int(1e4)
    	}
    	const procs = 8
    	defer runtime.GOMAXPROCS(runtime.GOMAXPROCS(procs))
    	// Disable the GC because hammerStoreLoadPointer invokes
    	// write barriers on values that aren't real pointers.
    	defer debug.SetGCPercent(debug.SetGCPercent(-1))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 71.4K bytes
    - Viewed (0)
  4. hack/local-up-cluster.sh

        # otherwise writing subtree_control fails with EBUSY.
        # An error during moving non-existent process (i.e., "cat") is ignored.
        mkdir -p /sys/fs/cgroup/init
        xargs -rn1 < /sys/fs/cgroup/cgroup.procs > /sys/fs/cgroup/init/cgroup.procs || :
        # enable controllers
        sed -e 's/ / +/g' -e 's/^/+/' < /sys/fs/cgroup/cgroup.controllers \
          > /sys/fs/cgroup/cgroup.subtree_control
      fi
    }
    
    function install_cni {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 25 02:33:52 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  5. maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                                + "'. Value must be positive.");
                    }
    
                    int procs = Runtime.getRuntime().availableProcessors();
                    int threads = (int) (coreMultiplier * procs);
                    return threads == 0 ? 1 : threads;
                } else {
                    int threads = Integer.parseInt(threadConfiguration);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:31:59 UTC 2024
    - 72.6K bytes
    - Viewed (0)
  6. src/internal/trace/summary.go

    			case GoNotExist:
    				g.finalize(ev.Time(), ev)
    			case GoSyscall:
    				s.syscallingP[ev.Proc()] = id
    				s.syscallingG[id] = ev.Proc()
    				g.lastSyscallTime = ev.Time()
    			}
    
    		// Handle procs to detect syscall blocking, which si identifiable as a
    		// proc going idle while the goroutine it was attached to is in a syscall.
    		case ResourceProc:
    			id := st.Resource.Proc()
    			old, new := st.Proc()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  7. pkg/kubelet/cm/cgroup_manager_linux.go

    				return filepath.SkipDir
    			}
    			if !info.IsDir() {
    				return nil
    			}
    			pids, err = getCgroupProcs(path)
    			if err != nil {
    				klog.V(4).InfoS("Cgroup manager encountered error getting procs for cgroup path", "path", path, "err", err)
    				return filepath.SkipDir
    			}
    			pidsToKill.Insert(pids...)
    			return nil
    		}
    		// Walk through the pod cgroup directory to check if
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 27 13:02:15 UTC 2023
    - 26.5K bytes
    - Viewed (0)
  8. src/runtime/proc.go

    	}
    
    	// mcommoninit runs before parsedebugvars, so init profstacks again.
    	mProfStackInit(gp.m)
    
    	lock(&sched.lock)
    	sched.lastpoll.Store(nanotime())
    	procs := ncpu
    	if n, ok := atoi32(gogetenv("GOMAXPROCS")); ok && n > 0 {
    		procs = n
    	}
    	if procresize(procs) != nil {
    		throw("unknown runnable goroutine during bootstrap")
    	}
    	unlock(&sched.lock)
    
    	// World is effectively started now, as P's can run.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  9. src/runtime/os_linux.go

    		return
    	}
    
    	var ts timespec
    	ts.setNsec(ns)
    	futex(unsafe.Pointer(addr), _FUTEX_WAIT_PRIVATE, val, unsafe.Pointer(&ts), nil, 0)
    }
    
    // If any procs are sleeping on addr, wake up at most cnt.
    //
    //go:nosplit
    func futexwakeup(addr *uint32, cnt uint32) {
    	ret := futex(unsafe.Pointer(addr), _FUTEX_WAKE_PRIVATE, cnt, nil, nil, 0)
    	if ret >= 0 {
    		return
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  10. cmd/server-main.go

    	}
    
    	maxProcs := runtime.GOMAXPROCS(0)
    	cpuProcs := runtime.NumCPU()
    	if maxProcs < cpuProcs {
    		warnings = append(warnings, color.YellowBold("- Detected GOMAXPROCS(%d) < NumCPU(%d), please make sure to provide all PROCS to MinIO for optimal performance", maxProcs, cpuProcs))
    	}
    
    	// Initialize grid
    	bootstrapTrace("initGrid", func() {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 04 15:12:57 UTC 2024
    - 34.5K bytes
    - Viewed (0)
Back to top