- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for PROCS (0.05 sec)
-
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) -
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) -
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) -
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) -
src/testing/testing.go
} return ok } func runTests(matchString func(pat, str string) (bool, error), tests []InternalTest, deadline time.Time) (ran, ok bool) { ok = true for _, procs := range cpuList { runtime.GOMAXPROCS(procs) for i := uint(0); i < *count; i++ { if shouldFailFast() { break } if i > 0 && !ran { // There were no tests to run on the first
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 76.1K bytes - Viewed (0) -
src/internal/trace/order.go
} return ok, err } type orderingHandleFunc func(o *ordering, ev *baseEvent, evt *evTable, m ThreadID, gen uint64, curCtx schedCtx) (schedCtx, bool, error) var orderingDispatch = [256]orderingHandleFunc{ // Procs. go122.EvProcsChange: (*ordering).advanceAnnotation, go122.EvProcStart: (*ordering).advanceProcStart, go122.EvProcStop: (*ordering).advanceProcStop, go122.EvProcSteal: (*ordering).advanceProcSteal,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 03 14:56:25 UTC 2024 - 52.4K bytes - Viewed (0)