Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 70 for Measurement (0.28 sec)

  1. src/cmd/vendor/github.com/google/pprof/internal/measurement/measurement.go

    		return float64(value), toUnit
    	}
    }
    
    // Label returns the label used to describe a certain measurement.
    func Label(value int64, unit string) string {
    	return ScaledLabel(value, unit, "auto")
    }
    
    // ScaledLabel scales the passed-in measurement (if necessary) and
    // returns the label used to describe a float measurement.
    func ScaledLabel(value int64, fromUnit, toUnit string) string {
    	v, u := Scale(value, fromUnit, toUnit)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  2. internal/bucket/bandwidth/measurement.go

    	startTime            time.Time // Start time for window
    	expMovingAvg         float64   // Previously calculate sliding window
    }
    
    // newBucketMeasurement creates a new instance of the measurement with the initial start time.
    func newBucketMeasurement(initTime time.Time) *bucketMeasurement {
    	return &bucketMeasurement{
    		startTime: initTime,
    	}
    }
    
    // incrementBytes add bytes reported for a bucket.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Jun 03 20:41:51 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  3. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/MeasuredOperationList.groovy

        }
    
        String getSpeedStats() {
            format(totalTime)
        }
    
        private String format(DataSeries<?> measurement) {
            """  ${name} median: ${measurement.median.format()} min: ${measurement.min.format()}, max: ${measurement.max.format()}, se: ${measurement.standardError.format()}}
      > ${measurement.collect { it.format() }}
    """
    
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  4. src/cmd/vendor/github.com/google/pprof/internal/driver/driver_focus.go

    	}
    	scaledValue, unit := measurement.Scale(v, ranges[0][2], ranges[0][2])
    	if len(ranges) == 1 {
    		switch match := ranges[0][0]; filter {
    		case match:
    			return func(v int64, u string) bool {
    				sv, su := measurement.Scale(v, u, unit)
    				return su == unit && sv == scaledValue
    			}
    		case match + ":":
    			return func(v int64, u string) bool {
    				sv, su := measurement.Scale(v, u, unit)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 22 23:33:06 UTC 2020
    - 6.4K bytes
    - Viewed (0)
  5. platforms/core-runtime/logging/src/jmh/java/org/gradle/internal/deprecation/DeprecationIdCreationBenchmark.java

     * limitations under the License.
     */
    
    package org.gradle.internal.deprecation;
    
    import org.openjdk.jmh.annotations.Benchmark;
    import org.openjdk.jmh.annotations.Measurement;
    import org.openjdk.jmh.annotations.Scope;
    import org.openjdk.jmh.annotations.State;
    import org.openjdk.jmh.annotations.Threads;
    import org.openjdk.jmh.annotations.Warmup;
    import org.openjdk.jmh.infra.Blackhole;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 06:13:13 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/google/pprof/internal/report/report.go

    		}
    
    		f, u := measurement.Scale(total, o.SampleUnit, o.OutputUnit)
    		fmt.Fprintf(tabw, "%s:\t Total %.1f%s\n", key, f, u)
    		for _, t := range graph.SortTags(tags, true) {
    			f, u := measurement.Scale(t.FlatValue(), o.SampleUnit, o.OutputUnit)
    			if total > 0 {
    				fmt.Fprintf(tabw, " \t%.1f%s (%s):\t %s\n", f, u, measurement.Percentage(t.FlatValue(), total), t.Name)
    			} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  7. src/cmd/vendor/github.com/google/pprof/internal/driver/tagroot.go

    		return values
    	}
    	for i, numLabel := range numLabels {
    		var value string
    		if len(numUnits) != 0 {
    			value = measurement.ScaledLabel(numLabel, numUnits[i], outputUnit)
    		} else {
    			value = measurement.ScaledLabel(numLabel, "", "")
    		}
    		values = append(values, value)
    	}
    	return values
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 18:58:12 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  8. src/cmd/vendor/github.com/google/pprof/internal/graph/dotgraph.go

    			flatValue,
    			strings.TrimSpace(measurement.Percentage(flat, b.config.Total)))
    	} else {
    		label = label + "0"
    	}
    	cumValue := flatValue
    	if cum != flat {
    		if flat != 0 {
    			label = label + `\n`
    		} else {
    			label = label + " "
    		}
    		cumValue = b.config.FormatValue(cum)
    		label = label + fmt.Sprintf(`of %s (%s)`,
    			cumValue,
    			strings.TrimSpace(measurement.Percentage(cum, b.config.Total)))
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 09 20:51:42 UTC 2022
    - 14.8K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/google/pprof/internal/driver/stacks.go

    // limitations under the License.
    
    package driver
    
    import (
    	"encoding/json"
    	"html/template"
    	"net/http"
    
    	"github.com/google/pprof/internal/measurement"
    	"github.com/google/pprof/internal/report"
    )
    
    // stackView generates the flamegraph view.
    func (ui *webInterface) stackView(w http.ResponseWriter, req *http.Request) {
    	// Get all data in a report.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. platforms/core-execution/build-cache/src/jmh/java/org/gradle/OptionalBenchmark.java

     * limitations under the License.
     */
    package org.gradle;
    
    import org.openjdk.jmh.annotations.Benchmark;
    import org.openjdk.jmh.annotations.Fork;
    import org.openjdk.jmh.annotations.Measurement;
    import org.openjdk.jmh.annotations.Scope;
    import org.openjdk.jmh.annotations.State;
    import org.openjdk.jmh.annotations.Warmup;
    import org.openjdk.jmh.infra.Blackhole;
    
    import java.nio.file.Path;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:43:12 UTC 2023
    - 2.2K bytes
    - Viewed (0)
Back to top