Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for traceGoStopReasonStrings (0.33 sec)

  1. src/runtime/trace.go

    	// 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
    
    	// enabled indicates whether tracing is enabled, but it is only an optimization,
    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

    // distinct by name may *not* be distinct by value.
    type traceGoStopReason uint8
    
    const (
    	traceGoStopGeneric traceGoStopReason = iota
    	traceGoStopGoSched
    	traceGoStopPreempted
    )
    
    var traceGoStopReasonStrings = [...]string{
    	traceGoStopGeneric:   "unspecified",
    	traceGoStopGoSched:   "runtime.Gosched",
    	traceGoStopPreempted: "preempted",
    }
    
    // traceEnabled returns true if the trace is currently enabled.
    //
    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