- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 805 for goroutineID (0.28 sec)
-
src/internal/trace/testdata/generators/go122-syscall-steal-proc-simple-bare-m.go
func gen(t *testgen.Trace) { g := t.Generation(1) // One goroutine enters a syscall. b0 := g.Batch(trace.ThreadID(0), 0) b0.Event("ProcStatus", trace.ProcID(0), go122.ProcRunning) b0.Event("GoStatus", trace.GoID(1), trace.ThreadID(0), go122.GoRunning) b0.Event("GoSyscallBegin", testgen.Seq(1), testgen.NoStack) b0.Event("GoSyscallEndBlocked") // A bare M steals the goroutine's P. b1 := g.Batch(trace.ThreadID(1), 0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 21:15:28 UTC 2024 - 855 bytes - Viewed (0) -
manifests/addons/dashboards/pilot.libsonnet
panels.timeSeries.base('CPU Usage', queries.cpuUsage, 'CPU usage of each running instance'), panels.timeSeries.base('Goroutines', queries.goroutines, 'Goroutine count for each running instance'), ]), ], panelHeight=10, startY=1) + g.util.grid.makeGrid([ row.new('Push Information') + row.withPanels([ panels.timeSeries.xdsPushes(
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 20:46:28 UTC 2024 - 2.9K bytes - Viewed (0) -
cmd/leak-detect_test.go
for _, g := range leaked { t.Errorf("Leaked goroutine: %v", g) } return } } // DetectTestLeak - snapshots the currently running goroutines and returns a // function to be run at the end of tests to see whether any // goroutines leaked. // Usage: `defer DetectTestLeak(t)()` in beginning line of benchmarks or unit tests.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 5.2K bytes - Viewed (0) -
src/internal/trace/testdata/testprog/cpu-profile.go
} // Examine the CPU profiler's view. Filter it to only include samples from // the single test goroutine. Use labels to execute that filter: they should // apply to all work done while that goroutine is getg().m.curg, and they // should apply to no other goroutines. pprofStacks := make(map[string]int) for _, s := range prof.Sample { if s.Label["tracing"] != nil { var fns []string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 3.8K bytes - Viewed (0) -
src/runtime/trace.go
// context where it could emit an event by bringing all goroutines to a safe point // with no opportunity to transition. // // The exception to this rule are goroutines that are concurrently exiting a syscall. // Those will all be forced into the syscalling slow path, and we'll just make sure // that we don't observe any goroutines in that critical section before starting
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:17:41 UTC 2024 - 37.1K bytes - Viewed (0) -
src/internal/trace/testdata/generators/go122-syscall-steal-proc-reacquire-new-proc-bare-m.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 21:15:28 UTC 2024 - 999 bytes - Viewed (0) -
src/runtime/proc.go
if debug.dontfreezetheworld > 0 { // Don't prempt Ps to stop goroutines. That will perturb // scheduler state, making debugging more difficult. Instead, // allow goroutines to continue execution. // // fatalpanic will tracebackothers to trace all goroutines. It // is unsafe to trace a running goroutine, so tracebackothers // will skip running goroutines. That is OK and expected, we
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 207.5K bytes - Viewed (0) -
src/internal/trace/testdata/generators/go122-go-create-without-running-g.go
// the time of writing, one such example is goroutines created by expiring // timers. package main import ( "internal/trace" "internal/trace/event/go122" testgen "internal/trace/internal/testgen/go122" ) func main() { testgen.Main(gen) } func gen(t *testgen.Trace) { g1 := t.Generation(1) // A goroutine gets created on a running P, then starts running.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 21:15:28 UTC 2024 - 996 bytes - Viewed (0) -
src/runtime/pprof/pprof_test.go
for j := 0; j < i; j++ { // Spin for longer and longer as the test goes on. This // goroutine will do O(N^2) work with the number of // goroutines it launches. This should be slow relative to // the work involved in collecting a goroutine profile, // which is O(N) with the high-water mark of the number of // goroutines in this process (in the allgs slice). runtime.Gosched() } if i == 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 68.8K bytes - Viewed (0) -
src/runtime/debug/garbage.go
// The initial setting is 10,000 threads. // // The limit controls the number of operating system threads, not the number // of goroutines. A Go program creates a new thread only when a goroutine // is ready to run but all the existing threads are blocked in system calls, cgo calls, // or are locked to other goroutines due to use of runtime.LockOSThread. // // SetMaxThreads is useful mainly for limiting the damage done by
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 9.9K bytes - Viewed (0)