Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for ProcID (0.15 sec)

  1. src/internal/trace/oldtrace.go

    			ctx: schedCtx{
    				G: GoID(ev.G),
    				P: ProcID(ev.P),
    				M: it.procMs[ProcID(ev.P)],
    			},
    			table: it.evt,
    			base: baseEvent{
    				typ:  go122.EvGoLabel,
    				time: Time(ev.Ts),
    				args: timedEventArgs{ev.Args[2]},
    			},
    		}}
    		return Event{
    			ctx: schedCtx{
    				G: GoID(ev.G),
    				P: ProcID(ev.P),
    				M: it.procMs[ProcID(ev.P)],
    			},
    			table: it.evt,
    			base: baseEvent{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  2. src/runtime/os_plan9.go

    	n := copy(buf[:], goexits)
    	n = copy(buf[n:], gostringnocopy(status))
    	pid := getpid()
    	for mp := (*m)(atomic.Loadp(unsafe.Pointer(&allm))); mp != nil; mp = mp.alllink {
    		if mp.procid != 0 && mp.procid != pid {
    			postnote(mp.procid, buf[:])
    		}
    	}
    	getg().m.locks--
    }
    
    var procdir = []byte("/proc/")
    var notefile = []byte("/note\x00")
    
    func postnote(pid uint64, msg []byte) int {
    	var buf [128]byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  3. src/internal/trace/testtrace/validation.go

    type Validator struct {
    	lastTs   trace.Time
    	gs       map[trace.GoID]*goState
    	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
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  4. src/runtime/lockrank_on.go

    		list := lockPartialOrder[rank]
    		for _, entry := range list {
    			if entry == prevRank {
    				rankOK = true
    				break
    			}
    		}
    	}
    	if !rankOK {
    		printlock()
    		println(gp.m.procid, " ======")
    		printHeldLocks(gp)
    		throw("lock ordering problem")
    	}
    }
    
    // See comment on lockWithRank regarding stack splitting.
    func unlockWithRank(l *mutex) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:29:04 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  5. src/internal/trace/summary.go

    	return &Summarizer{
    		gs:          make(map[GoID]*GoroutineSummary),
    		tasks:       make(map[TaskID]*UserTaskSummary),
    		syscallingP: make(map[ProcID]GoID),
    		syscallingG: make(map[GoID]ProcID),
    		rangesP:     make(map[rangeP]GoID),
    	}
    }
    
    type rangeP struct {
    	id   ProcID
    	name string
    }
    
    // Event feeds a single event into the stats summarizer.
    func (s *Summarizer) Event(ev *Event) {
    	if s.syncTs == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  6. src/internal/trace/event.go

    			// transition.
    			beforeState = ProcIdle
    		}
    		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:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 12:39:00 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  7. src/cmd/trace/gstate.go

    type resource interface {
    	trace.GoID | trace.ProcID | trace.ThreadID
    }
    
    // noResource indicates the lack of a resource.
    const noResource = -1
    
    // gState represents the trace viewer state of a goroutine in a trace.
    //
    // The type parameter on this type is the resource which is used to construct
    // a timeline of events. e.g. R=ProcID for a proc-oriented view, R=GoID for
    // a goroutine-oriented view, etc.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  8. src/runtime/cgocall.go

    		hi := g0.stack.hi
    		lo := g0.stack.lo
    		g0.stack.hi = sp + 1024
    		g0.stack.lo = sp - 32*1024
    		g0.stackguard0 = g0.stack.lo + stackGuard
    		g0.stackguard1 = g0.stackguard0
    
    		print("M ", mp.id, " procid ", mp.procid, " runtime: cgocallback with sp=", hex(sp), " out of bounds [", hex(lo), ", ", hex(hi), "]")
    		print("\n")
    		exit(2)
    	}
    
    	if !mp.isextra {
    		// We allocated the stack for standard Ms. Don't replace the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:47 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  9. src/internal/trace/generation.go

    		if err != nil {
    			return nil, err
    		}
    		mid := ThreadID(m)
    
    		// Read the sample's P.
    		p, err := binary.ReadUvarint(r)
    		if err != nil {
    			return nil, err
    		}
    		pid := ProcID(p)
    
    		// Read the sample's G.
    		g, err := binary.ReadUvarint(r)
    		if err != nil {
    			return nil, err
    		}
    		goid := GoID(g)
    		if g == 0 {
    			goid = NoGoroutine
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 22:14:45 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  10. src/runtime/os_windows.go

    		print("runtime.minit: duplicatehandle failed; errno=", getlasterror(), "\n")
    		throw("runtime.minit: duplicatehandle failed")
    	}
    
    	mp := getg().m
    	lock(&mp.threadLock)
    	mp.thread = thandle
    	mp.procid = uint64(stdcall0(_GetCurrentThreadId))
    
    	// Configure usleep timer, if possible.
    	if mp.highResTimer == 0 && haveHighResTimer {
    		mp.highResTimer = createHighResTimer()
    		if mp.highResTimer == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 41.5K bytes
    - Viewed (0)
Back to top