Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ProcState (0.22 sec)

  1. src/internal/trace/resources.go

    	case GoWaiting:
    		return "Waiting"
    	case GoSyscall:
    		return "Syscall"
    	}
    	return "Bad"
    }
    
    // ProcState represents the state of a proc.
    //
    // New ProcStates may be added in the future. Users of this type must be robust
    // to that possibility.
    type ProcState uint8
    
    const (
    	ProcUndetermined ProcState = iota // No information is known about the proc.
    	ProcNotExist                      // Proc does not exist.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. src/internal/trace/testtrace/validation.go

    	ps       map[trace.ProcID]*procState
    	ms       map[trace.ThreadID]*schedContext
    	ranges   map[trace.ResourceID][]string
    	tasks    map[trace.TaskID]string
    	seenSync bool
    	Go121    bool
    }
    
    type schedContext struct {
    	M trace.ThreadID
    	P trace.ProcID
    	G trace.GoID
    }
    
    type goState struct {
    	state   trace.GoState
    	binding *schedContext
    }
    
    type procState struct {
    	state   trace.ProcState
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  3. src/internal/trace/event.go

    		}
    		s = procStateTransition(ProcID(e.base.args[0]), beforeState, ProcIdle)
    	case go122.EvProcStatus:
    		// N.B. ordering.advance populates e.base.extra.
    		s = procStateTransition(ProcID(e.base.args[0]), ProcState(e.base.extra(version.Go122)[0]), go122ProcStatus2ProcState[e.base.args[1]])
    	case go122.EvGoCreate, go122.EvGoCreateBlocked:
    		status := GoRunnable
    		if e.base.typ == go122.EvGoCreateBlocked {
    			status = GoWaiting
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 12:39:00 UTC 2024
    - 28.9K bytes
    - Viewed (0)
Back to top