Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 60 for GoID (0.04 sec)

  1. 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)
  2. src/internal/trace/event/event.go

    //
    // See the documentation of Args for more details.
    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
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. src/internal/trace/order.go

    // and Next. Advance is called to try and advance an event and
    // add completed events to the ordering. Next is used to pick
    // off events in the ordering.
    type ordering struct {
    	gStates     map[GoID]*gState
    	pStates     map[ProcID]*pState // TODO: The keys are dense, so this can be a slice.
    	mStates     map[ThreadID]*mState
    	activeTasks map[TaskID]taskState
    	gcSeq       uint64
    	gcState     gcState
    	initialGen  uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 52.4K bytes
    - Viewed (0)
  4. src/internal/trace/reader.go

    		}, 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)
  5. src/internal/trace/gc.go

    		// time at which procs changed.
    		time int64
    		// n is the number of procs at that point.
    		n int
    	}
    	out := [][]MutatorUtil{}
    	stw := 0
    	ps := []perP{}
    	inGC := make(map[GoID]bool)
    	states := make(map[GoID]GoState)
    	bgMark := make(map[GoID]bool)
    	procs := []procsCount{}
    	seenSync := false
    
    	// Helpers.
    	handleSTW := func(r Range) bool {
    		return flags&UtilSTW != 0 && isGCSTW(r)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 26K bytes
    - Viewed (0)
  6. 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)
  7. src/runtime/proc.go

    		modinfo = ""
    	}
    }
    
    func dumpgstatus(gp *g) {
    	thisg := getg()
    	print("runtime:   gp: gp=", gp, ", goid=", gp.goid, ", gp->atomicstatus=", readgstatus(gp), "\n")
    	print("runtime: getg:  g=", thisg, ", goid=", thisg.goid, ",  g->atomicstatus=", readgstatus(thisg), "\n")
    }
    
    // sched.lock must be held.
    func checkmcount() {
    	assertLockHeld(&sched.lock)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  8. src/cmd/cgo/gcc.go

    		used[f.Name] = true
    	}
    
    	if !*godefs {
    		for cid, goid := range ident {
    			if token.Lookup(goid).IsKeyword() {
    				// Avoid keyword
    				goid = "_" + goid
    
    				// Also avoid existing fields
    				for _, exist := used[goid]; exist; _, exist = used[goid] {
    					goid = "_" + goid
    				}
    
    				used[goid] = true
    				ident[cid] = goid
    			}
    		}
    	}
    
    	anon := 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  9. src/internal/trace/internal/testgen/go122/trace.go

    	case "seq":
    		u = uint64(arg.(Seq))
    	case "pstatus":
    		u = uint64(arg.(go122.ProcStatus))
    	case "gstatus":
    		u = uint64(arg.(go122.GoStatus))
    	case "g":
    		u = uint64(arg.(trace.GoID))
    	case "m":
    		u = uint64(arg.(trace.ThreadID))
    	case "p":
    		u = uint64(arg.(trace.ProcID))
    	case "string":
    		u = b.gen.String(arg.(string))
    	case "task":
    		u = uint64(arg.(trace.TaskID))
    	default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  10. src/cmd/trace/gen.go

    // lowest first.
    func emitTask(ctx *traceContext, task *trace.UserTaskSummary, sortIndex int) {
    	// Collect information about the task.
    	var startStack, endStack trace.Stack
    	var startG, endG trace.GoID
    	startTime, endTime := ctx.startTime, ctx.endTime
    	if task.Start != nil {
    		startStack = task.Start.Stack()
    		startG = task.Start.Goroutine()
    		startTime = task.Start.Time()
    	}
    	if task.End != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top