- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for startTheWorld (0.51 sec)
-
src/runtime/export_test.go
stw := stopTheWorld(stwForTestCountPagesInUse) pagesInUse = mheap_.pagesInUse.Load() for _, s := range mheap_.allspans { if s.state.get() == mSpanInUse { counted += s.npages } } startTheWorld(stw) return } func Fastrand() uint32 { return uint32(rand()) } func Fastrand64() uint64 { return rand() } func Fastrandn(n uint32) uint32 { return randn(n) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:50:53 UTC 2024 - 46.1K bytes - Viewed (0) -
src/internal/trace/trace_test.go
}}, {trace.EventStateTransition, "Goroutine Running->Waiting", []frame{ {"time.Sleep", 0}, {"main.main", 0}, }}, {trace.EventMetric, "/sched/gomaxprocs:threads", []frame{ {"runtime.startTheWorld", 0}, // this is when the current gomaxprocs is logged. {"runtime.startTheWorldGC", 0}, {"runtime.GOMAXPROCS", 0}, {"main.main", 0}, }}, } if !stress {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 18.5K bytes - Viewed (0) -
src/runtime/trace.go
for _, pp := range allp { tl.writer().writeProcStatusForP(pp, pp == tl.mp.p.ptr()).end() } traceRelease(tl) unlock(&sched.sysmonlock) startTheWorld(stw) traceStartReadCPU() traceAdvancer.start() semrelease(&traceAdvanceSema) return nil } // StopTrace stops tracing, if it was previously enabled.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:17:41 UTC 2024 - 37.1K bytes - Viewed (0) -
src/runtime/runtime2.go
// continues to use its P, even in _Pgcstop. Transitioning // from _Prunning to _Pgcstop causes an M to release its P and // park. // // The P retains its run queue and startTheWorld will restart // the scheduler on Ps with non-empty run queues. _Pgcstop // _Pdead means a P is no longer used (GOMAXPROCS shrank). We // reuse Ps if GOMAXPROCS increases. A dead P is mostly
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:57:37 UTC 2024 - 47.9K bytes - Viewed (0) -
src/internal/trace/testdata/tests/go122-annotations-stress.test
String id=129 data="main.do.func1.1.1" String id=130 data="time.Sleep" String id=131 data="/usr/local/google/home/mknyszek/work/go-1/src/runtime/time.go" String id=132 data="runtime.startTheWorld" String id=133 data="/usr/local/google/home/mknyszek/work/go-1/src/runtime/proc.go" String id=134 data="runtime.StartTrace" String id=135
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 38.3K bytes - Viewed (0)