- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for sched (0.04 sec)
-
src/runtime/debug.go
// This call will go away when the scheduler improves. func GOMAXPROCS(n int) int { if GOARCH == "wasm" && n > 1 { n = 1 // WebAssembly has no threads yet, so only one CPU is possible. } lock(&sched.lock) ret := int(gomaxprocs) unlock(&sched.lock) if n <= 0 || n == ret { return ret } stw := stopTheWorldGC(stwGOMAXPROCS) // newprocs will be processed by startTheWorld newprocs = int32(n) startTheWorldGC(stw)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 11 20:38:24 UTC 2024 - 4.2K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/helpers_linux.go
// 100000 microseconds is equivalent to 100ms quotaPeriod = 100000 // 1000 microseconds is equivalent to 1ms // defined here: // https://github.com/torvalds/linux/blob/cac03ac368fabff0122853de2422d4e17a32de08/kernel/sched/core.c#L10546 minQuotaPeriod = 1000 ) // milliCPUToQuota converts milliCPU to CFS quota and period values // Input parameters and resulting value is number of microseconds.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 24 18:21:21 UTC 2023 - 2.5K bytes - Viewed (0) -
src/runtime/mklockrank.go
forcegc, hchan, pollDesc, # pollDesc can interact with timers, which can lock sched. scavenge, sweep, sweepWaiters, testR, wakeableSleep # Above SCHED are things that can call into the scheduler. < SCHED # Below SCHED is the scheduler implementation. < allocmR, execR; allocmR, execR, hchan < sched; sched < allg, allp; # Channels NONE < notifyList; hchan, notifyList < sudog;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:47:01 UTC 2024 - 9.1K bytes - Viewed (0) -
src/cmd/link/internal/ld/inittask.go
} } // Sort edges so we can look them up by edge destination. sort.Slice(edges, func(i, j int) bool { return edges[i].to < edges[j].to }) // Figure out the schedule. sched := ldr.MakeSymbolBuilder(symName) sched.SetType(sym.SNOPTRDATA) // Could be SRODATA, but see issue 58857. for !h.empty() { // Pick the lexicographically first initializable package. s := h.pop(ldr) // Add s to the schedule.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 30 20:09:45 UTC 2024 - 6.2K bytes - Viewed (0) -
src/runtime/badlinkname.go
// - github.com/outcaste-io/ristretto // - github.com/clubpay/ronykit //go:linkname cputicks // Notable members of the hall of shame include: // - gvisor.dev/gvisor (from assembly)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 661 bytes - Viewed (0) -
src/cmd/trace/doc.go
go tool trace -pprof=TYPE trace.out > TYPE.pprof Supported profile types are: - net: network blocking profile - sync: synchronization blocking profile - syscall: syscall blocking profile - sched: scheduler latency profile Then, you can use the pprof tool to analyze the profile: go tool pprof TYPE.pprof Note that while the various profiles available when launching
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 1K bytes - Viewed (0) -
src/runtime/align_runtime_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 1.8K bytes - Viewed (0) -
cmd/kube-scheduler/app/testing/testserver.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Aug 24 10:35:59 UTC 2023 - 5.2K bytes - Viewed (0) -
src/runtime/testdata/testprogcgo/raceprof.go
// detector, because a call of the predeclared function copy was // turned into a call to runtime.slicecopy, which is not marked nosplit. /* #include <signal.h> #include <stdint.h> #include <pthread.h> #include <sched.h> struct cgoTracebackArg { uintptr_t context; uintptr_t sigContext; uintptr_t* buf; uintptr_t max; }; static int raceprofCount;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 24 18:13:14 UTC 2023 - 1.7K bytes - Viewed (0) -
src/runtime/testdata/testprogcgo/racesig.go
// call the C malloc function. /* #include <errno.h> #include <signal.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <pthread.h> #include <sched.h> #include <unistd.h> #define ALLOCERS 100 #define SIGNALERS 10 static void* signalThread(void* p) { pthread_t* pt = (pthread_t*)(p); int i, j; for (i = 0; i < 100; i++) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 01:46:05 UTC 2023 - 1.7K bytes - Viewed (0)