- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for blockProfile (0.14 sec)
-
src/cmd/go/testdata/script/test_fuzz_profile_flags.txt
[!fuzz] skip ! go test -fuzz=FuzzTrivial -coverprofile=prof ! stdout . stderr '^cannot use -coverprofile flag with -fuzz flag$' ! go test -fuzz=FuzzTrivial -blockprofile=prof ! stdout . stderr '^cannot use -blockprofile flag with -fuzz flag$' ! go test -fuzz=FuzzTrivial -cpuprofile=prof ! stdout . stderr '^cannot use -cpuprofile flag with -fuzz flag$' ! go test -fuzz=FuzzTrivial -memprofile=prof ! stdout .
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 02 18:01:20 UTC 2021 - 855 bytes - Viewed (0) -
src/cmd/go/internal/test/flagdefs.go
// the test binary with the prefix "test.". var passFlagToTest = map[string]bool{ "bench": true, "benchmem": true, "benchtime": true, "blockprofile": true, "blockprofilerate": true, "count": true, "coverprofile": true, "cpu": true, "cpuprofile": true, "failfast": true,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 01:02:40 UTC 2024 - 2.2K bytes - Viewed (0) -
src/runtime/debug.go
func totalMutexWaitTimeNanos() int64 { total := sched.totalMutexWaitTime.Load() total += sched.totalRuntimeLockWaitTime.Load() for mp := (*m)(atomic.Loadp(unsafe.Pointer(&allm))); mp != nil; mp = mp.alllink { total += mp.mLockProfile.waitTime.Load() } return total } // NumGoroutine returns the number of goroutines that currently exist. func NumGoroutine() int { return int(gcount()) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 11 20:38:24 UTC 2024 - 4.2K bytes - Viewed (0) -
src/runtime/lock_futex.go
v := atomic.Xchg(key32(&l.key), mutex_unlocked) if v == mutex_unlocked { throw("unlock of unlocked lock") } if v == mutex_sleeping { futexwakeup(key32(&l.key), 1) } gp := getg() gp.m.mLockProfile.recordUnlock(l) gp.m.locks-- if gp.m.locks < 0 { throw("runtimeĀ·unlock: lock count") } if gp.m.locks == 0 && gp.preempt { // restore the preemption request in case we've cleared it in newstack
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:57:34 UTC 2024 - 5.4K bytes - Viewed (0) -
src/runtime/lock_sema.go
// Dequeue an M. mp = muintptr(v &^ locked).ptr() if atomic.Casuintptr(&l.key, v, uintptr(mp.nextwaitm)) { // Dequeued an M. Wake it. semawakeup(mp) break } } } gp.m.mLockProfile.recordUnlock(l) gp.m.locks-- if gp.m.locks < 0 { throw("runtimeĀ·unlock: lock count") } if gp.m.locks == 0 && gp.preempt { // restore the preemption request in case we've cleared it in newstack
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:57:37 UTC 2024 - 6.8K bytes - Viewed (0)