Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for blockFrequentShort (0.22 sec)

  1. src/runtime/pprof/pprof_test.go

    	} else {
    		t.Logf("bias: abs(%f) < %f", bias, threshold)
    	}
    }
    
    // blockFrequentShort produces 100000 block events with an average duration of
    // rate / 10.
    func blockFrequentShort(rate int) {
    	for i := 0; i < 100000; i++ {
    		blockevent(int64(rate/10), 1)
    	}
    }
    
    // blockFrequentShort produces 10000 block events with an average duration of
    // rate.
    func blockInfrequentLong(rate int) {
    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