Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for activeRanges (0.17 sec)

  1. src/cmd/trace/gstate.go

    	if gs.executing != R(noResource) {
    		// If we're executing, start the slice from here.
    		gs.activeRanges[name] = activeRange{ts, stack}
    	} else {
    		// If the goroutine isn't executing, there's no place for
    		// us to create a slice from. Wait until it starts executing.
    		gs.activeRanges[name] = activeRange{0, stack}
    	}
    }
    
    // rangeActive indicates that a special range of time has been in progress.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  2. src/cmd/trace/goroutinegen.go

    		// (i.e. the G has been blocked in a syscall).
    		gs.syscallBegin(start, goID, ev.Stack())
    	}
    
    	// Note down the goroutine transition.
    	_, inMarkAssist := gs.activeRanges["GC mark assist"]
    	ctx.GoroutineTransition(ctx.elapsed(ev.Time()), viewerGState(from, inMarkAssist), viewerGState(to, inMarkAssist))
    }
    
    func (g *goroutineGenerator) ProcRange(ctx *traceContext, ev *trace.Event) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. src/cmd/trace/threadgen.go

    		// (i.e. the G has been blocked in a syscall).
    		gs.syscallBegin(start, ev.Thread(), ev.Stack())
    	}
    
    	// Note down the goroutine transition.
    	_, inMarkAssist := gs.activeRanges["GC mark assist"]
    	ctx.GoroutineTransition(ctx.elapsed(ev.Time()), viewerGState(from, inMarkAssist), viewerGState(to, inMarkAssist))
    }
    
    func (g *threadGenerator) ProcTransition(ctx *traceContext, ev *trace.Event) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. src/cmd/trace/procgen.go

    	if from == trace.GoSyscall && didNotBlock {
    		gs.syscallEnd(ev.Time(), false, ctx)
    		delete(g.inSyscall, ev.Proc())
    	}
    
    	// Note down the goroutine transition.
    	_, inMarkAssist := gs.activeRanges["GC mark assist"]
    	ctx.GoroutineTransition(ctx.elapsed(ev.Time()), viewerGState(from, inMarkAssist), viewerGState(to, inMarkAssist))
    }
    
    func (g *procGenerator) ProcTransition(ctx *traceContext, ev *trace.Event) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. src/cmd/trace/gen.go

    		g.ranges = make(map[trace.Range]activeRange)
    	}
    	r := ev.Range()
    	switch ev.Kind() {
    	case trace.EventRangeBegin:
    		g.ranges[r] = activeRange{ev.Time(), ev.Stack()}
    	case trace.EventRangeActive:
    		// If we've seen a Sync event, then Active events are always redundant.
    		if !g.seenSync {
    			// Otherwise, they extend back to the start of the trace.
    			g.ranges[r] = activeRange{ctx.startTime, ev.Stack()}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  6. src/internal/trace/order.go

    	}
    	s.inFlight = append(s.inFlight, typ)
    	return nil
    }
    
    // activeRange marks special range in time on the goroutine as active in the
    // initial generation, or confirms that it is indeed active in later generations.
    func (s *rangeState) activeRange(typ rangeType, isInitialGen bool) error {
    	if isInitialGen {
    		if s.hasRange(typ) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 52.4K bytes
    - Viewed (0)
Back to top