Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/runtime/os_netbsd.go

    // signal stack here before calling the regular mstart. It's a bit
    // baroque to remove a signal stack here only to add one in minit, but
    // it's a simple change that keeps NetBSD working like other OS's.
    // At this point all signals are blocked, so there is no race.
    //
    //go:nosplit
    func netbsdMstart0() {
    	st := stackt{ss_flags: _SS_DISABLE}
    	sigaltstack(&st, nil)
    	mstart0()
    }
    
    func osinit() {
    	ncpu = getncpu()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  2. 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)
  3. src/runtime/mstats.go

    // Memory statistics
    
    package runtime
    
    import (
    	"internal/runtime/atomic"
    	"unsafe"
    )
    
    type mstats struct {
    	// Statistics about malloc heap.
    	heapStats consistentHeapStats
    
    	// Statistics about stacks.
    	stacks_sys sysMemStat // only counts newosproc0 stack in mstats; differs from MemStats.StackSys
    
    	// Statistics about allocation of low-level fixed-size structures.
    	mspan_sys    sysMemStat
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 21:03:13 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  4. 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)
  5. subprojects/core/src/test/groovy/org/gradle/api/internal/project/DefaultProjectStateRegistryTest.groovy

                        assert state1.hasMutableState()
                        assert state2.hasMutableState()
                    }
                }
                start(action)
                start(action)
                start(action)
                start(action)
                start(action)
            }
    
            then:
            noExceptionThrown()
        }
    
        def "thread can be granted uncontrolled access to a single project"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. tools/packaging/common/istio-start.sh

    # See the License for the specific language governing permissions and
    # limitations under the License.
    #
    ################################################################################
    #
    # Script to configure and start the Istio sidecar.
    
    set -ea
    
    # Load optional config variables
    ISTIO_SIDECAR_CONFIG=${ISTIO_SIDECAR_CONFIG:-./var/lib/istio/envoy/sidecar.env}
    if [[ -r ${ISTIO_SIDECAR_CONFIG} ]]; then
      # shellcheck disable=SC1090
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 06 22:16:26 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  9. 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)
  10. src/cmd/compile/internal/ssa/compile.go

    			// Surround timing information w/ enough context to allow comparisons.
    			time := tEnd.Sub(tStart).Nanoseconds()
    			if p.time {
    				f.LogStat("TIME(ns)", time)
    			}
    			if p.mem {
    				var mEnd runtime.MemStats
    				runtime.ReadMemStats(&mEnd)
    				nBytes := mEnd.TotalAlloc - mStart.TotalAlloc
    				nAllocs := mEnd.Mallocs - mStart.Mallocs
    				f.LogStat("TIME(ns):BYTES:ALLOCS", time, nBytes, nAllocs)
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:55:18 UTC 2024
    - 18.6K bytes
    - Viewed (0)
Back to top