Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 43 for ProcID (0.11 sec)

  1. src/runtime/tracebuf.go

    		ts = w.traceBuf.lastTime + 1
    	}
    	w.traceBuf.lastTime = ts
    	w.traceBuf.link = nil
    	w.traceBuf.pos = 0
    
    	// Tolerate a nil mp.
    	mID := ^uint64(0)
    	if w.mp != nil {
    		mID = uint64(w.mp.procid)
    	}
    
    	// Write the buffer's header.
    	if exp == traceNoExperiment {
    		w.byte(byte(traceEvEventBatch))
    	} else {
    		w.byte(byte(traceEvExperimentalBatch))
    		w.byte(byte(exp))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  2. src/internal/trace/reader.go

    			go121Events: convertOldFormat(tr),
    		}, nil
    	case version.Go122, version.Go123:
    		return &Reader{
    			r: br,
    			order: ordering{
    				mStates:     make(map[ThreadID]*mState),
    				pStates:     make(map[ProcID]*pState),
    				gStates:     make(map[GoID]*gState),
    				activeTasks: make(map[TaskID]taskState),
    			},
    			// Don't emit a sync event when we first go to emit events.
    			emittedSync: true,
    		}, nil
    	default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. src/runtime/traceevent.go

    		w = w.writeProcStatus(uint64(pp.id), procStatus, pp.trace.inSweep)
    	}
    	if gp := tl.mp.curg; gp != nil && !gp.trace.statusWasTraced(tl.gen) && gp.trace.acquireStatus(tl.gen) {
    		w = w.writeGoStatus(uint64(gp.goid), int64(tl.mp.procid), goStatus, gp.inMarkAssist, 0 /* no stack */)
    	}
    	return traceEventWriter{w}
    }
    
    // commit writes out a trace event and calls end. It's a helper to make the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  4. src/internal/trace/internal/testgen/go122/trace.go

    	case "gstatus":
    		u = uint64(arg.(go122.GoStatus))
    	case "g":
    		u = uint64(arg.(trace.GoID))
    	case "m":
    		u = uint64(arg.(trace.ThreadID))
    	case "p":
    		u = uint64(arg.(trace.ProcID))
    	case "string":
    		u = b.gen.String(arg.(string))
    	case "task":
    		u = uint64(arg.(trace.TaskID))
    	default:
    		panic(fmt.Sprintf("unsupported arg type %q for spec %q", typStr, argSpec))
    	}
    	return u
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. src/runtime/heapdump.go

    	iterate_itabs(itab_callback)
    }
    
    func dumpms() {
    	for mp := allm; mp != nil; mp = mp.alllink {
    		dumpint(tagOSThread)
    		dumpint(uint64(uintptr(unsafe.Pointer(mp))))
    		dumpint(uint64(mp.id))
    		dumpint(mp.procid)
    	}
    }
    
    //go:systemstack
    func dumpmemstats(m *MemStats) {
    	assertWorldStopped()
    
    	// These ints should be identical to the exported
    	// MemStats structure and should be ordered the same
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  9. src/runtime/sys_linux_ppc64x.s

    	RET
    
    	// In child, on new stack.
    	// initialize essential registers
    	BL	runtime·reginit(SB)
    	MOVD	-32(R1), R7
    	CMP	R7, $1234
    	BEQ	2(PC)
    	MOVD	R0, 0(R0)
    
    	// Initialize m->procid to Linux tid
    	SYSCALL $SYS_gettid
    
    	MOVD	-24(R1), R12       // fn
    	MOVD	-16(R1), R8        // g
    	MOVD	-8(R1), R7         // m
    
    	CMP	R7, $0
    	BEQ	nog
    	CMP	R8, $0
    	BEQ	nog
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  10. src/runtime/traceruntime.go

    //
    // Must be called with a valid P.
    func (tl traceLocker) GoSysCall() {
    	// Scribble down the M that the P is currently attached to.
    	pp := tl.mp.p.ptr()
    	pp.trace.mSyscallID = int64(tl.mp.procid)
    	tl.eventWriter(traceGoRunning, traceProcRunning).commit(traceEvGoSyscallBegin, pp.trace.nextSeq(tl.gen), tl.stack(1))
    }
    
    // GoSysExit emits a GoSyscallEnd event, possibly along with a GoSyscallBlocked event
    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