- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 53 for PCs (0.04 sec)
-
src/runtime/pprof/pprof.go
expandedStack := pprof_makeProfStack() for _, r := range records { values[0] = r.Count values[1] = int64(float64(r.Cycles) / cpuGHz) // For count profiles, all stack addresses are // return PCs, which is what appendLocsForStack expects. n := pprof_fpunwindExpand(expandedStack[:], r.Stack) locs = b.appendLocsForStack(locs[:0], expandedStack[:n]) b.pbSample(values, locs, nil) } b.build() return nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:52:17 UTC 2024 - 30.6K bytes - Viewed (0) -
src/runtime/preempt.go
func init() { f := findfunc(abi.FuncPCABI0(asyncPreempt)) total := funcMaxSPDelta(f) f = findfunc(abi.FuncPCABIInternal(asyncPreempt2)) total += funcMaxSPDelta(f) // Add some overhead for return PCs, etc. asyncPreemptStack = uintptr(total) + 8*goarch.PtrSize if asyncPreemptStack > stackNosplit { // We need more than the nosplit limit. This isn't // unsafe, but it may limit asynchronous preemption. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 15:41:45 UTC 2024 - 15.1K bytes - Viewed (0) -
src/internal/trace/event.go
// Frames is an iterator over the frames in a Stack. func (s Stack) Frames(yield func(f StackFrame) bool) bool { if s.id == 0 { return true } stk := s.table.stacks.mustGet(s.id) for _, pc := range stk.pcs { f := s.table.pcs[pc] sf := StackFrame{ PC: f.pc, Func: s.table.strings.mustGet(f.funcID), File: s.table.strings.mustGet(f.fileID), Line: f.line, } if !yield(sf) { return false }
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/runtime2.go
retpc uintptr deferBitsOffset uintptr slotsOffset uintptr } // ancestorInfo records details of where a goroutine was started. type ancestorInfo struct { pcs []uintptr // pcs from the stack of this goroutine goid uint64 // goroutine id of this goroutine; original goroutine possibly dead gopc uintptr // pc of go statement that created this goroutine }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:57:37 UTC 2024 - 47.9K bytes - Viewed (0) -
src/runtime/race.go
throw("unknown command") } } // raceSymbolizeCode reads ctx.pc and populates the rest of *ctx with // information about the code at that pc. // // The race detector has already subtracted 1 from pcs, so they point to the last // byte of call instructions (including calls to runtime.racewrite and friends). // // If the incoming pc is part of an inlined function, *ctx is populated
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:37:29 UTC 2024 - 20.4K bytes - Viewed (0) -
src/testing/testing.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 76.1K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/debug.go
// in state.f, using the information about block state in blockLocs. // The returned location lists are not fully complete. They are in // terms of SSA values rather than PCs, and have no base address/end // entries. They will be finished by PutLocationList. func (state *debugState) buildLocationLists(blockLocs []*BlockDebug) { // Run through the function in program text order, building up location
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 19:44:43 UTC 2024 - 58.4K bytes - Viewed (0) -
src/cmd/link/internal/ld/macho.go
// plugin's functab is corrupted. By unexporting them, these // become static references, which are resolved to the // plugin's text. // // It would be better to omit the runtime from plugins. (Using // relative PCs in the functab instead of relocations would // also address this.) // // See issue #18190. if ctxt.BuildMode == BuildModePlugin {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:32:53 UTC 2024 - 43.9K bytes - Viewed (0) -
src/runtime/proc.go
n = debug.tracebackancestors } ancestors := make([]ancestorInfo, n) copy(ancestors[1:], callerAncestors) var pcs [tracebackInnerFrames]uintptr npcs := gcallers(callergp, 0, pcs[:]) ipcs := make([]uintptr, npcs) copy(ipcs, pcs[:]) ancestors[0] = ancestorInfo{ pcs: ipcs, goid: callergp.goid, gopc: callergp.gopc, } ancestorsp := new([]ancestorInfo) *ancestorsp = ancestors
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/cmd/internal/obj/riscv/obj.go
// // This is to avoid confusing pctospadj, which sums // Spadj from function entry to each PC, and shouldn't // count adjustments from earlier epilogues, since they // won't affect later PCs. p.Spadj = int32(stacksize) case AADDI: // Refine Spadjs account for adjustment via ADDI instruction. if p.To.Type == obj.TYPE_REG && p.To.Reg == REG_SP && p.From.Type == obj.TYPE_CONST {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 07 03:32:27 UTC 2024 - 77K bytes - Viewed (0)