Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 129 for mstart0 (0.13 sec)

  1. src/runtime/proc.go

    	}
    
    	// Set up m.g0.sched as a label returning to just
    	// after the mstart1 call in mstart0 above, for use by goexit0 and mcall.
    	// We're never coming back to mstart1 after we call schedule,
    	// so other calls can reuse the current frame.
    	// And goexit0 does a gogo that needs to return from mstart1
    	// and let mstart0 exit the thread.
    	gp.sched.g = guintptr(unsafe.Pointer(gp))
    	gp.sched.pc = getcallerpc()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  2. src/cmd/trace/jsontrace.go

    	slices.SortStableFunc(opts.tasks, func(a, b *trace.UserTaskSummary) int {
    		aStart, bStart := parsed.startTime(), parsed.startTime()
    		if a.Start != nil {
    			aStart = a.Start.Time()
    		}
    		if b.Start != nil {
    			bStart = b.Start.Time()
    		}
    		if a.Start != b.Start {
    			return cmp.Compare(aStart, bStart)
    		}
    		// Break ties with the end time.
    		aEnd, bEnd := parsed.endTime(), parsed.endTime()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/telemetry/start.go

    // first running goroutine in the traceback.
    //
    // If either of these flags is set, Start re-executes the current
    // executable as a child process, in a special mode in which it
    // acts as a telemetry sidecar for the parent process (the application).
    // In that mode, the call to Start will never return, so Start must
    // be called immediately within main, even before such things as
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 14:52:56 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  4. src/runtime/metrics_test.go

    			checkUint64(t, name, samples[i].Value.Uint64(), mstats.HeapIdle-mstats.HeapReleased)
    		case "/memory/classes/heap/released:bytes":
    			checkUint64(t, name, samples[i].Value.Uint64(), mstats.HeapReleased)
    		case "/memory/classes/heap/objects:bytes":
    			checkUint64(t, name, samples[i].Value.Uint64(), mstats.HeapAlloc)
    		case "/memory/classes/heap/unused:bytes":
    			checkUint64(t, name, samples[i].Value.Uint64(), mstats.HeapInuse-mstats.HeapAlloc)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 45K bytes
    - Viewed (0)
  5. src/internal/trace/testdata/testprog/stress-start-stop.go

    	}()
    
    	const iters = 5
    	for i := 0; i < iters; i++ {
    		var w io.Writer
    		if i == iters-1 {
    			w = os.Stdout
    		} else {
    			w = new(bytes.Buffer)
    		}
    		if err := trace.Start(w); err != nil {
    			log.Fatalf("failed to start tracing: %v", err)
    		}
    		time.Sleep(time.Millisecond)
    		trace.Stop()
    	}
    	<-outerDone
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. build-logic/jvm/src/main/kotlin/gradlebuild.start-scripts.gradle.kts

    }
    
    configurations {
        create("gradleScriptsElements") {
            isVisible = false
            isCanBeResolved = false
            isCanBeConsumed = true
            attributes.attribute(Usage.USAGE_ATTRIBUTE, objects.named("start-scripts"))
            outgoing.artifact(startScripts)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 11:35:55 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. src/internal/trace/testdata/testprog/many-start-stop.go

    	// Trace a few times.
    	for i := 0; i < 10; i++ {
    		var buf bytes.Buffer
    		if err := trace.Start(&buf); err != nil {
    			log.Fatalf("failed to start tracing: %v", err)
    		}
    		runtime.GC()
    		trace.Stop()
    	}
    
    	// Start tracing again, this time writing out the result.
    	if err := trace.Start(os.Stdout); err != nil {
    		log.Fatalf("failed to start tracing: %v", err)
    	}
    	runtime.GC()
    	trace.Stop()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 786 bytes
    - Viewed (0)
  8. src/sync/pool_test.go

    	var mstats runtime.MemStats
    	var pauses []uint64
    
    	var p Pool
    	for i := 0; i < b.N; i++ {
    		// Put a large number of items into a pool.
    		const N = 100000
    		var item any = 42
    		for i := 0; i < N; i++ {
    			p.Put(item)
    		}
    		// Do a GC.
    		runtime.GC()
    		// Record pause time.
    		runtime.ReadMemStats(&mstats)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. src/internal/trace/order.go

    		o.initialGen = gen
    	}
    
    	var curCtx, newCtx schedCtx
    	curCtx.M = m
    	newCtx.M = m
    
    	var ms *mState
    	if m == NoThread {
    		curCtx.P = NoProc
    		curCtx.G = NoGoroutine
    		newCtx = curCtx
    	} else {
    		// Pull out or create the mState for this event.
    		var ok bool
    		ms, ok = o.mStates[m]
    		if !ok {
    			ms = &mState{
    				g: NoGoroutine,
    				p: NoProc,
    			}
    			o.mStates[m] = ms
    		}
    		curCtx.P = ms.p
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 52.4K bytes
    - Viewed (0)
  10. src/cmd/vendor/rsc.io/markdown/inline.go

    						d = 1
    					}
    					del := p.Text[0] == '~'
    					x := &Emph{Marker: p.Text[:d], Inner: append([]Inline(nil), dst[start.i+1:]...)}
    					start.Text = start.Text[:len(start.Text)-d]
    					p.Text = p.Text[d:]
    					if start.Text == "" {
    						dst = dst[:start.i]
    					} else {
    						dst = dst[:start.i+1]
    					}
    					trimStack()
    					if del {
    						dst = append(dst, (*Del)(x))
    					} else if d == 2 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 21.9K bytes
    - Viewed (0)
Back to top