Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for cpuProfilingBroken (0.13 sec)

  1. src/cmd/pprof/pprof_test.go

    	})
    	if pprofPathErr != nil {
    		t.Fatal(pprofPathErr)
    	}
    	return pprofExePath
    }
    
    var (
    	pprofPathOnce sync.Once
    	pprofExePath  string
    	pprofPathErr  error
    )
    
    // See also runtime/pprof.cpuProfilingBroken.
    func mustHaveCPUProfiling(t *testing.T) {
    	switch runtime.GOOS {
    	case "plan9":
    		t.Skipf("skipping on %s, unimplemented", runtime.GOOS)
    	case "aix":
    		t.Skipf("skipping on %s, issue 45170", runtime.GOOS)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 03 16:07:59 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  2. src/runtime/pprof/pprof_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	for _, sample := range p.Sample {
    		count := uintptr(sample.Value[0])
    		f(count, sample.Location, sample.Label)
    	}
    	return p
    }
    
    func cpuProfilingBroken() bool {
    	switch runtime.GOOS {
    	case "plan9":
    		// Profiling unimplemented.
    		return true
    	case "aix":
    		// See https://golang.org/issue/45170.
    		return true
    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