- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for MUD (0.02 sec)
-
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) -
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) -
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) -
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) -
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)