Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for rangeBegin (0.18 sec)

  1. src/cmd/trace/gstate.go

    	if gs.executing != R(noResource) {
    		gs.syscallEnd(ctx.endTime, false, ctx)
    		gs.stop(ctx.endTime, trace.NoStack, ctx)
    	}
    }
    
    // rangeBegin indicates the start of a special range of time.
    func (gs *gState[R]) rangeBegin(ts trace.Time, name string, stack trace.Stack) {
    	if gs.executing != R(noResource) {
    		// If we're executing, start the slice from here.
    		gs.activeRanges[name] = activeRange{ts, stack}
    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/internal/trace/event.go

    	EventBad:             "Bad",
    	EventSync:            "Sync",
    	EventMetric:          "Metric",
    	EventLabel:           "Label",
    	EventStackSample:     "StackSample",
    	EventRangeBegin:      "RangeBegin",
    	EventRangeActive:     "RangeActive",
    	EventRangeEnd:        "RangeEnd",
    	EventTaskBegin:       "TaskBegin",
    	EventTaskEnd:         "TaskEnd",
    	EventRegionBegin:     "RegionBegin",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 12:39:00 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  3. src/internal/trace/summary.go

    			g = s.gs[r.Scope.Goroutine()]
    		case ResourceProc:
    			rp := rangeP{id: r.Scope.Proc(), name: r.Name}
    			if goid, ok := s.rangesP[rp]; ok {
    				if goid == ev.Goroutine() {
    					// As the comment in the RangeBegin case states, this is only OK
    					// if we finish on the same goroutine we started on.
    					g = s.gs[goid]
    				}
    				delete(s.rangesP, rp)
    			}
    		}
    		if g == nil {
    			break
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 20.7K bytes
    - Viewed (0)
Back to top