Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for markWorkerLabels (0.56 sec)

  1. src/runtime/trace.go

    	cpuBuf      [2]*traceBuf
    
    	reader atomic.Pointer[g] // goroutine that called ReadTrace, or nil
    
    	// Fast mappings from enumerations to string IDs that are prepopulated
    	// in the trace.
    	markWorkerLabels [2][len(gcMarkWorkerModeStrings)]traceArg
    	goStopReasons    [2][len(traceGoStopReasonStrings)]traceArg
    	goBlockReasons   [2][len(traceBlockReasonStrings)]traceArg
    
    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/runtime/traceruntime.go

    	w := tl.eventWriter(traceGoRunnable, traceProcRunning)
    	w = w.write(traceEvGoStart, traceArg(gp.goid), gp.trace.nextSeq(tl.gen))
    	if pp.ptr().gcMarkWorkerMode != gcMarkWorkerNotWorker {
    		w = w.write(traceEvGoLabel, trace.markWorkerLabels[tl.gen%2][pp.ptr().gcMarkWorkerMode])
    	}
    	w.end()
    }
    
    // GoEnd emits a GoDestroy event.
    //
    // TODO(mknyszek): Rename this to GoDestroy.
    func (tl traceLocker) GoEnd() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 25.7K bytes
    - Viewed (0)
Back to top