- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 77 for grpcstatus (0.34 sec)
-
src/internal/trace/testdata/generators/go122-syscall-steal-proc-sitting-in-syscall.go
} func gen(t *testgen.Trace) { g := t.Generation(1) // Steal proc from a goroutine that's been blocked // in a syscall the entire generation. b0 := g.Batch(trace.ThreadID(0), 0) b0.Event("ProcStatus", trace.ProcID(0), go122.ProcSyscallAbandoned) b0.Event("ProcSteal", trace.ProcID(0), testgen.Seq(1), trace.ThreadID(1)) // Status event for a goroutine blocked in a syscall for the entire generation.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 21:15:28 UTC 2024 - 946 bytes - Viewed (0) -
src/internal/trace/testdata/generators/go122-syscall-steal-proc-simple-bare-m.go
) func main() { testgen.Main(gen) } 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")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 21:15:28 UTC 2024 - 855 bytes - Viewed (0) -
src/internal/trace/testdata/generators/go122-go-create-without-running-g.go
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. b0 := g1.Batch(trace.ThreadID(0), 0) b0.Event("ProcStatus", trace.ProcID(0), go122.ProcRunning) b0.Event("GoCreate", trace.GoID(5), testgen.NoStack, testgen.NoStack) b0.Event("GoStart", trace.GoID(5), testgen.Seq(1)) b0.Event("GoStop", "whatever", testgen.NoStack)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 21:15:28 UTC 2024 - 996 bytes - Viewed (0) -
src/internal/trace/testdata/generators/go122-syscall-steal-proc-self.go
func gen(t *testgen.Trace) { t.DisableTimestamps() g := t.Generation(1) // A goroutine execute a syscall and steals its own P, then starts running // on that P. 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)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 21:15:28 UTC 2024 - 1K bytes - Viewed (0) -
src/internal/trace/testdata/generators/go122-create-syscall-reuse-thread-id.go
// A C thread calls into Go and acquires a P. It returns // back to C, destroying the G. b0 := g.Batch(trace.ThreadID(0), 0) b0.Event("GoCreateSyscall", trace.GoID(4)) b0.Event("GoSyscallEndBlocked") b0.Event("ProcStatus", trace.ProcID(0), go122.ProcIdle) b0.Event("ProcStart", trace.ProcID(0), testgen.Seq(1)) b0.Event("GoStatus", trace.GoID(4), trace.NoThread, go122.GoRunnable) b0.Event("GoStart", trace.GoID(4), testgen.Seq(1))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 21:15:28 UTC 2024 - 2.3K bytes - Viewed (0) -
src/internal/trace/testdata/generators/go122-create-syscall-with-p.go
// calls into Go, until the thread dies. This is still // possible on other platforms, however. b0 := g.Batch(trace.ThreadID(0), 0) b0.Event("GoCreateSyscall", trace.GoID(4)) b0.Event("ProcStatus", trace.ProcID(0), go122.ProcIdle) b0.Event("ProcStart", trace.ProcID(0), testgen.Seq(1)) b0.Event("GoSyscallEndBlocked") b0.Event("GoStart", trace.GoID(4), testgen.Seq(1))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 21:15:28 UTC 2024 - 1.7K bytes - Viewed (0) -
src/internal/trace/event/go122/event.go
case GoSyscall: return "Syscall" case GoWaiting: return "Waiting" } return "Bad" } type ProcStatus uint8 const ( ProcBad ProcStatus = iota ProcRunning ProcIdle ProcSyscall ProcSyscallAbandoned ) func (s ProcStatus) String() string { switch s { case ProcRunning: return "Running" case ProcIdle: return "Idle" case ProcSyscall:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 14.8K bytes - Viewed (0) -
src/runtime/tracestatus.go
} // Trace any special ranges that are in-progress. if markAssist { w = w.event(traceEvGCMarkAssistActive, traceArg(goid)) } return w } // writeProcStatusForP emits a ProcStatus event for the provided p based on its status. // // The caller must fully own pp and it must be prevented from transitioning (e.g. this can be // called by a forEachP callback or from a STW).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 17:03:35 UTC 2024 - 7.2K bytes - Viewed (0) -
src/runtime/traceruntime.go
ev := traceEvGoSyscallEnd procStatus := traceProcSyscall // Procs implicitly enter traceProcSyscall on GoSyscallBegin. if lostP { ev = traceEvGoSyscallEndBlocked procStatus = traceProcRunning // If a G has a P when emitting this event, it reacquired a P and is indeed running. } else { tl.mp.p.ptr().trace.mSyscallID = -1 } tl.eventWriter(traceGoSyscall, procStatus).commit(ev) }
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/runtime/traceevent.go
func (tl traceLocker) eventWriter(goStatus traceGoStatus, procStatus traceProcStatus) traceEventWriter { w := tl.writer() if pp := tl.mp.p.ptr(); pp != nil && !pp.trace.statusWasTraced(tl.gen) && pp.trace.acquireStatus(tl.gen) { w = w.writeProcStatus(uint64(pp.id), procStatus, pp.trace.inSweep) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:47:01 UTC 2024 - 9.2K bytes - Viewed (0)