- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for RunStealOrderTest (0.14 sec)
-
src/runtime/proc_runtime_test.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Proc unit tests. In runtime package so can use runtime guts. package runtime func RunStealOrderTest() { var ord randomOrder for procs := 1; procs <= 64; procs++ { ord.reset(uint32(procs)) if procs >= 3 && len(ord.coprimes) < 2 { panic("too few coprimes") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 01 18:43:08 UTC 2022 - 1.4K bytes - Viewed (0) -
src/runtime/proc_test.go
for k := k0; k < k1; k++ { C[i][j] += A[i][k] * B[k][j] } } } } if done != nil { done <- struct{}{} } } func TestStealOrder(t *testing.T) { runtime.RunStealOrderTest() } func TestLockOSThreadNesting(t *testing.T) { if runtime.GOARCH == "wasm" { t.Skip("no threads on wasm yet") } go func() { e, i := runtime.LockOSCounts() if e != 0 || i != 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 14 00:03:57 UTC 2023 - 25.8K bytes - Viewed (0)