Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for MUD (0.03 sec)

  1. src/internal/trace/mud.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package trace
    
    import (
    	"cmp"
    	"math"
    	"slices"
    )
    
    // mud is an updatable mutator utilization distribution.
    //
    // This is a continuous distribution of duration over mutator
    // utilization. For example, the integral from mutator utilization a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. src/internal/trace/mud_test.go

    	const uniforms = 100
    	for trackMass := 0.0; trackMass < uniforms; trackMass += uniforms / 50 {
    		var mud mud
    		mass := 0.0
    		mud.setTrackMass(trackMass)
    		for i := 0; i < uniforms; i++ {
    			area, l, r := rnd.Float64(), rnd.Float64(), rnd.Float64()
    			mud.add(l, r, area)
    			mass += area
    			l, u, ok := mud.approxInvCumulativeSum()
    			inv, ok2 := mud.invCumulativeSum(trackMass)
    
    			if mass < trackMass {
    				if ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. src/internal/trace/gc_test.go

    			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)
    			}
    		}
    
    		// Test MUD with band optimization against MUD without band
    		// optimization. We don't have a simple testing implementation
    		// of MUDs (the simplest implementation is still quite
    		// complex), but this is still a pretty good test.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. src/internal/trace/gc.go

    	// Accumulate the MUD until we have precise information for
    	// everything to the left of qMass.
    	acc := accumulator{mmu: 1.0, bound: 1.0, preciseMass: qMass, mud: new(mud)}
    	acc.mud.setTrackMass(qMass)
    	c.mmu(window, &acc)
    
    	// Evaluate the quantiles on the accumulated MUD.
    	out := make([]float64, len(quantiles))
    	for i := range out {
    		mu, _ := acc.mud.invCumulativeSum(float64(duration) * quantiles[i])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 26K bytes
    - Viewed (0)
  5. src/internal/trace/traceviewer/mmu.go

    		if quantiles == nil {
    			plot[i] = make([]float64, 2)
    			plot[i][1] = mmuCurve.MMU(window)
    		} else {
    			plot[i] = make([]float64, 1+len(quantiles))
    			copy(plot[i][1:], mmuCurve.MUD(window, quantiles))
    		}
    		plot[i][0] = float64(window)
    	}
    
    	// Create JSON response.
    	err = json.NewEncoder(w).Encode(map[string]any{"xMin": int64(xMin), "xMax": int64(xMax), "quantiles": quantiles, "curve": plot})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 21:29:53 UTC 2023
    - 13K bytes
    - Viewed (0)
  6. src/cmd/link/link_test.go

    	"testing"
    
    	"cmd/internal/sys"
    )
    
    var AuthorPaidByTheColumnInch struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:02 UTC 2024
    - 43.5K bytes
    - Viewed (0)
  7. src/compress/bzip2/testdata/Isaac.Newton-Opticks.txt.bz2

    and dash one another into pieces, and vanish into Air, and Vapour, and Flame. When Salt of Tartar _per deliquium_, being poured into the Solution of any Metal, precipitates the Metal and makes it fall down to the bottom of the Liquor in the form of Mud: Does not this argue that the acid Particles are attracted more strongly by the Salt of Tartar than by the Metal, and by the stronger Attraction go from the Metal to the Salt of Tartar? And so when a Solution of Iron in _Aqua fortis_ dissolves the _Lapis...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 24 18:26:02 UTC 2018
    - 129.4K bytes
    - Viewed (0)
  8. src/testdata/Isaac.Newton-Opticks.txt

    When Salt of Tartar _per deliquium_, being poured into the Solution of
    any Metal, precipitates the Metal and makes it fall down to the bottom
    of the Liquor in the form of Mud: Does not this argue that the acid
    Particles are attracted more strongly by the Salt of Tartar than by the
    Metal, and by the stronger Attraction go from the Metal to the Salt of
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 01 16:16:21 UTC 2018
    - 553.9K bytes
    - Viewed (0)
Back to top