Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for PCs (0.03 sec)

  1. src/runtime/pprof/pprof_test.go

    	return cpuHog0(x, n)
    }
    
    //go:noinline
    func dumpCallers(pcs []uintptr) {
    	if pcs == nil {
    		return
    	}
    
    	skip := 2 // Callers and dumpCallers
    	runtime.Callers(skip, pcs)
    }
    
    //go:noinline
    func inlinedCallerDump(pcs []uintptr) {
    	inlinedCalleeDump(pcs)
    }
    
    func inlinedCalleeDump(pcs []uintptr) {
    	dumpCallers(pcs)
    }
    
    type inlineWrapperInterface interface {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
  2. src/runtime/traceback.go

    }
    
    // tracebackPCs populates pcBuf with the return addresses for each frame from u
    // and returns the number of PCs written to pcBuf. The returned PCs correspond
    // to "logical frames" rather than "physical frames"; that is if A is inlined
    // into B, this will still return a PCs for both A and B. This also includes PCs
    // generated by the cgo unwinder, if one is registered.
    //
    // If skip != 0, this skips this many logical frames.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/dwarf.go

    		// different units.
    		sval := d.ldr.SymValue(sym)
    		u0val := d.ldr.SymValue(loader.Sym(unit.Textp[0]))
    		if prevUnit != unit {
    			unit.PCs = append(unit.PCs, dwarf.Range{Start: sval - u0val})
    			prevUnit = unit
    		}
    		unit.PCs[len(unit.PCs)-1].End = sval - u0val + int64(len(d.ldr.Data(sym)))
    	}
    }
    
    func movetomodule(ctxt *Link, parent *dwarf.DWDie) {
    	die := ctxt.runtimeCU.DWInfo.Child
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 72.4K bytes
    - Viewed (0)
  4. src/testing/testing.go

    	if n == 0 {
    		panic("testing: zero callers found")
    	}
    	return pcToName(pc[0])
    }
    
    func pcToName(pc uintptr) string {
    	pcs := []uintptr{pc}
    	frames := runtime.CallersFrames(pcs)
    	frame, _ := frames.Next()
    	return frame.Function
    }
    
    // Parallel signals that this test is to be run in parallel with (and only with)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  5. 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)
  6. 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)
Back to top