Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestTraceCPUProfile (0.37 sec)

  1. src/internal/trace/trace_test.go

    	switch runtime.GOOS {
    	case "plan9", "windows":
    		t.Skipf("cgo callback test requires pthreads and is not supported on %s", runtime.GOOS)
    	}
    	testTraceProg(t, "cgo-callback.go", nil)
    }
    
    func TestTraceCPUProfile(t *testing.T) {
    	testTraceProg(t, "cpu-profile.go", func(t *testing.T, tb, stderr []byte, _ bool) {
    		// Parse stderr which has a CPU profile summary, if everything went well.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 18.5K bytes
    - Viewed (0)
Back to top