- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 50 for ProcID (0.29 sec)
-
src/internal/trace/event/event.go
var ArgTypes = [...]string{ "seq", // sequence number "pstatus", // P status "gstatus", // G status "g", // trace.GoID "m", // trace.ThreadID "p", // trace.ProcID "string", // string ID "stack", // stack ID "value", // uint64 "task", // trace.TaskID } // Names is a helper that produces a mapping of event names to event types.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 3.4K bytes - Viewed (0) -
src/runtime/os_wasm.go
import ( "internal/runtime/atomic" "unsafe" ) func osinit() { // https://webassembly.github.io/spec/core/exec/runtime.html#memory-instances physPageSize = 64 * 1024 initBloc() ncpu = 1 getg().m.procid = 2 } const _SIGSEGV = 0xb func sigpanic() { gp := getg() if !canpanic() { throw("unexpected signal during runtime execution") } // js only invokes the exception handler for memory faults.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 3.2K bytes - Viewed (0) -
src/runtime/tracecpu.go
if traceEnabled() { throw("traceInitReadCPU called with trace enabled") } // Create new profBuf for CPU samples that will be emitted as events. // Format: after the timestamp, header is [pp.id, gp.goid, mp.procid]. trace.cpuLogRead[0] = newProfBuf(3, profBufWordCount, profBufTagCount) trace.cpuLogRead[1] = newProfBuf(3, profBufWordCount, profBufTagCount) // We must not acquire trace.signalLock outside of a signal handler: a
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 17:03:35 UTC 2024 - 8.7K bytes - Viewed (0) -
src/internal/trace/event.go
// transition. beforeState = ProcIdle } s = procStateTransition(ProcID(e.base.args[0]), beforeState, ProcIdle) case go122.EvProcStatus: // N.B. ordering.advance populates e.base.extra. s = procStateTransition(ProcID(e.base.args[0]), ProcState(e.base.extra(version.Go122)[0]), go122ProcStatus2ProcState[e.base.args[1]]) case go122.EvGoCreate, go122.EvGoCreateBlocked:
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/cmd/trace/gstate.go
type resource interface { trace.GoID | trace.ProcID | trace.ThreadID } // noResource indicates the lack of a resource. const noResource = -1 // gState represents the trace viewer state of a goroutine in a trace. // // The type parameter on this type is the resource which is used to construct // a timeline of events. e.g. R=ProcID for a proc-oriented view, R=GoID for // a goroutine-oriented view, etc.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 11.9K bytes - Viewed (0) -
src/internal/trace/order.go
type pState struct { id ProcID status go122.ProcStatus seq seqCounter // rangeState is the state of special time ranges bound to this proc. rangeState } // mState is the state of a thread at a point in the trace. type mState struct { g GoID // Goroutine bound to this M. (The goroutine's state is Executing.) p ProcID // Proc bound to this M. (The proc's state is Executing.)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 03 14:56:25 UTC 2024 - 52.4K bytes - Viewed (0) -
src/runtime/export_debug_test.go
if gp.lockedm == 0 { return nil, plainError("goroutine not locked to thread") } tid := int(gp.lockedm.ptr().procid) if tid == 0 { return nil, plainError("missing tid") } f := efaceOf(&fn) if f._type == nil || f._type.Kind_&abi.KindMask != abi.Func { return nil, plainError("fn must be a function") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 15:41:45 UTC 2024 - 5.1K bytes - Viewed (0) -
src/runtime/tracebuf.go
ts = w.traceBuf.lastTime + 1 } w.traceBuf.lastTime = ts w.traceBuf.link = nil w.traceBuf.pos = 0 // Tolerate a nil mp. mID := ^uint64(0) if w.mp != nil { mID = uint64(w.mp.procid) } // Write the buffer's header. if exp == traceNoExperiment { w.byte(byte(traceEvEventBatch)) } else { w.byte(byte(traceEvExperimentalBatch)) w.byte(byte(exp)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:47:01 UTC 2024 - 6.8K bytes - Viewed (0) -
src/internal/trace/reader.go
go121Events: convertOldFormat(tr), }, nil case version.Go122, version.Go123: return &Reader{ r: br, order: ordering{ mStates: make(map[ThreadID]*mState), pStates: make(map[ProcID]*pState), gStates: make(map[GoID]*gState), activeTasks: make(map[TaskID]taskState), }, // Don't emit a sync event when we first go to emit events. emittedSync: true, }, nil default:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 6.7K bytes - Viewed (0) -
src/runtime/traceevent.go
w = w.writeProcStatus(uint64(pp.id), procStatus, pp.trace.inSweep) } if gp := tl.mp.curg; gp != nil && !gp.trace.statusWasTraced(tl.gen) && gp.trace.acquireStatus(tl.gen) { w = w.writeGoStatus(uint64(gp.goid), int64(tl.mp.procid), goStatus, gp.inMarkAssist, 0 /* no stack */) } return traceEventWriter{w} } // commit writes out a trace event and calls end. It's a helper to make the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:47:01 UTC 2024 - 9.2K bytes - Viewed (0)