Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for matchAndAvoidStacks (0.13 sec)

  1. src/runtime/pprof/pprof_test.go

    }
    
    func TestCPUProfile(t *testing.T) {
    	matches := matchAndAvoidStacks(stackContains, []string{"runtime/pprof.cpuHog1"}, avoidFunctions())
    	testCPUProfile(t, matches, func(dur time.Duration) {
    		cpuHogger(cpuHog1, &salt1, dur)
    	})
    }
    
    func TestCPUProfileMultithreaded(t *testing.T) {
    	defer runtime.GOMAXPROCS(runtime.GOMAXPROCS(2))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
Back to top