- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestLabelRace (0.12 sec)
-
src/runtime/pprof/pprof_test.go
testCPUProfile(t, matches, func(dur time.Duration) { Do(context.Background(), Labels("key", "value"), func(context.Context) { cpuHogger(cpuHog1, &salt1, dur) }) }) } func TestLabelRace(t *testing.T) { testenv.MustHaveParallelism(t) // Test the race detector annotations for synchronization // between setting labels and consuming them from the // profile.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 68.8K bytes - Viewed (0)