Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for mmuSlow (0.09 sec)

  1. src/internal/trace/gc_test.go

    		mmuCurve := trace.NewMMUCurve(mu)
    
    		// Test the optimized implementation against the "obviously
    		// correct" implementation.
    		for window := time.Nanosecond; window < 10*time.Second; window *= 10 {
    			want := mmuSlow(mu[0], window)
    			got := mmuCurve.MMU(window)
    			if !aeq(want, got) {
    				t.Errorf("want %f, got %f mutator utilization in window %s", want, got, window)
    			}
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top