- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 805 for goroutineID (0.12 sec)
-
src/runtime/stubs.go
// //go:linkname procyield func procyield(cycles uint32) type neverCallThisFunction struct{} // goexit is the return stub at the top of every goroutine call stack. // Each goroutine stack is constructed as if goexit called the // goroutine's entry point function, so that when the entry point // function returns, it will return to goexit, which will call goexit1 // to perform the actual exit. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 20.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/filters/priority-and-fairness.go
// Call Handle in a separate goroutine. // The reason for it is that from APF point of view, the request processing // finishes as soon as watch is initialized (which is generally orders of // magnitude faster then the watch request itself). This means that Handle() // call finishes much faster and for performance reasons we want to reduce // the number of running goroutines - so we run the shorter thing in a
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 12:18:35 UTC 2023 - 15.3K bytes - Viewed (0) -
src/iter/pull_test.go
// to Gosched back into itself, so we require NumGoroutine to be // the same 100 times in a row. This should be more than enough to // ensure all goroutines get a chance to run to completion (or to // some block point) for a small group of test goroutines. defer runtime.GOMAXPROCS(runtime.GOMAXPROCS(1)) c := 0 ng := runtime.NumGoroutine() for i := 0; i < 1000; i++ { nng := runtime.NumGoroutine() if nng == ng {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:09:28 UTC 2024 - 10.2K bytes - Viewed (0) -
src/runtime/traceruntime.go
// // Must be called with a valid P. func (tl traceLocker) ProcStart() { pp := tl.mp.p.ptr() // Procs are typically started within the scheduler when there is no user goroutine. If there is a user goroutine, // it must be in _Gsyscall because the only time a goroutine is allowed to have its Proc moved around from under it // is during a syscall.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:31:00 UTC 2024 - 25.7K bytes - Viewed (0) -
src/internal/trace/oldtrace.go
// all goroutines that already existed at trace begin. it.preInit = false for gid := range it.createdPreInit { // These are goroutines that already existed when tracing started but for which we // received neither GoWaiting, GoInSyscall, or GoStart. These are goroutines that are in // the states _Gidle or _Grunnable. it.extra = append(it.extra, Event{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 17.2K bytes - Viewed (0) -
src/context/context.go
// an AfterFunc has been registered with the parent. // It holds the stop function used to unregister the AfterFunc. type stopCtx struct { Context stop func() bool } // goroutines counts the number of goroutines ever created; for testing. var goroutines atomic.Int32 // &cancelCtxKey is the key that a cancelCtx returns itself for. var cancelCtxKey int // parentCancelCtx returns the underlying *cancelCtx for parent.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 23.7K bytes - Viewed (0) -
src/cmd/trace/main.go
mux.Handle("/jsontrace", JSONTraceHandler(parsed)) mux.Handle("/static/", traceviewer.StaticHandler()) // Goroutines handlers. mux.HandleFunc("/goroutines", GoroutinesHandlerFunc(parsed.summary.Goroutines)) mux.HandleFunc("/goroutine", GoroutineHandler(parsed.summary.Goroutines)) // MMU handler. mux.HandleFunc("/mmu", traceviewer.MMUHandlerFunc(ranges, mutatorUtil)) // Basic pprof endpoints.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 10.4K bytes - Viewed (0) -
src/net/http/pprof/pprof_test.go
{"/debug/pprof/block?seconds=1", Index, http.StatusOK, "application/octet-stream", `attachment; filename="block-delta"`, nil}, {"/debug/pprof/goroutine?seconds=1", Index, http.StatusOK, "application/octet-stream", `attachment; filename="goroutine-delta"`, nil}, {"/debug/pprof/", Index, http.StatusOK, "text/html; charset=utf-8", "", []byte("Types of profiles available:")}, } for _, tc := range testCases {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 07 19:52:28 UTC 2023 - 9.7K bytes - Viewed (0) -
src/internal/trace/traceviewer/mmu.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 21:29:53 UTC 2023 - 13K bytes - Viewed (0) -
src/os/timeout_test.go
next, ok := nextTimeout(actual) if !ok { t.Fatalf("Read took %s; expected at most %v", actual, want) } // Maybe this machine is too slow to reliably schedule goroutines within // the requested duration. Increase the timeout and try again. t.Logf("Read took %s (expected %s); trying with longer timeout", actual, d) d = next continue } break } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 14 00:03:57 UTC 2023 - 17.1K bytes - Viewed (0)