- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 58 for GoID (0.04 sec)
-
src/internal/trace/generation.go
if err != nil { return nil, err } goid := GoID(g) if g == 0 { goid = NoGoroutine } // Read the sample's stack. s, err := binary.ReadUvarint(r) if err != nil { return nil, err } // Add the sample to the slice. samples = append(samples, cpuSample{ schedCtx: schedCtx{ M: mid, P: pid, G: goid, },
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 22:14:45 UTC 2024 - 12.1K bytes - Viewed (0) -
src/runtime/traceruntime.go
} tl.eventWriter(traceGoRunning, traceProcRunning).commit(ev, traceArg(newg.goid), tl.startPC(pc), tl.stack(2)) } // GoStart emits a GoStart event. // // Must be called with a valid P. func (tl traceLocker) GoStart() { gp := getg().m.curg pp := gp.m.p w := tl.eventWriter(traceGoRunnable, traceProcRunning) w = w.write(traceEvGoStart, traceArg(gp.goid), gp.trace.nextSeq(tl.gen))
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/testtrace/validation.go
type Validator struct { lastTs trace.Time gs map[trace.GoID]*goState ps map[trace.ProcID]*procState ms map[trace.ThreadID]*schedContext ranges map[trace.ResourceID][]string tasks map[trace.TaskID]string seenSync bool Go121 bool } type schedContext struct { M trace.ThreadID P trace.ProcID G trace.GoID } type goState struct { state trace.GoState
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 10.9K bytes - Viewed (0) -
src/cmd/trace/tasks.go
if err != nil { http.Error(w, err.Error(), http.StatusBadRequest) return } type event struct { WhenString string Elapsed time.Duration Goroutine trace.GoID What string // TODO: include stack trace of creation time } type task struct { WhenString string ID trace.TaskID Duration time.Duration Complete bool
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 11.8K bytes - Viewed (0) -
src/runtime/tracestack.go
case traceGoRunning, traceGoSyscall: if getg() == gp || mp.curg == gp { break } fallthrough default: print("runtime: gp=", unsafe.Pointer(gp), " gp.goid=", gp.goid, " status=", gStatusStrings[status], "\n") throw("attempted to trace stack of a goroutine this thread does not own") } } } if gp != nil && mp == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 14:38:56 UTC 2024 - 11K bytes - Viewed (0) -
src/runtime/traceback.go
pc := gp.gopc f := findfunc(pc) if f.valid() && showframe(f.srcFunc(), gp, false, abi.FuncIDNormal) && gp.goid != 1 { printcreatedby1(f, pc, gp.parentGoid) } } func printcreatedby1(f funcInfo, pc uintptr, goid uint64) { print("created by ") printFuncName(funcname(f)) if goid != 0 { print(" in goroutine ", goid) } print("\n")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 55.1K bytes - Viewed (0) -
src/internal/trace/event.go
status = GoWaiting } s = goStateTransition(GoID(e.base.args[0]), GoNotExist, status) s.Stack = Stack{table: e.table, id: stackID(e.base.args[1])} case go122.EvGoCreateSyscall: s = goStateTransition(GoID(e.base.args[0]), GoNotExist, GoSyscall) case go122.EvGoStart: s = goStateTransition(GoID(e.base.args[0]), GoRunnable, GoRunning) case go122.EvGoDestroy:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 12:39:00 UTC 2024 - 28.9K bytes - Viewed (0) -
src/runtime/mgcmark.go
//go:systemstack func scanstack(gp *g, gcw *gcWork) int64 { if readgstatus(gp)&_Gscan == 0 { print("runtime:scanstack: gp=", gp, ", goid=", gp.goid, ", gp->atomicstatus=", hex(readgstatus(gp)), "\n") throw("scanstack - bad status") } switch readgstatus(gp) &^ _Gscan { default: print("runtime: gp=", gp, ", goid=", gp.goid, ", gp->atomicstatus=", readgstatus(gp), "\n") throw("mark - bad status") case _Gdead: return 0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 21:25:11 UTC 2024 - 52.5K bytes - Viewed (0) -
src/cmd/trace/regions.go
http.Error(w, err.Error(), http.StatusBadRequest) return } // Collect all the regions with their goroutines. type region struct { *trace.UserRegionSummary Goroutine trace.GoID NonOverlappingStats map[string]time.Duration HasRangeTime bool } var regions []region var maxTotal time.Duration validNonOverlappingStats := make(map[string]struct{})
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 14.3K bytes - Viewed (0) -
src/runtime/trace.go
s := suspendG(gp) if !s.dead { ug.goid = s.g.goid if s.g.m != nil { ug.mid = int64(s.g.m.procid) } ug.status = readgstatus(s.g) &^ _Gscan ug.waitreason = s.g.waitreason ug.inMarkAssist = s.g.inMarkAssist ug.stackID = traceStack(0, gp, gen) } resumeG(s) casgstatus(me, _Gwaiting, _Grunning) }) if ug.goid != 0 { untracedGs = append(untracedGs, ug) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:17:41 UTC 2024 - 37.1K bytes - Viewed (0)