Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for measureText (0.19 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/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)
  7. 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)
  8. 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)
  9. platforms/core-execution/build-cache/src/jmh/java/org/gradle/caching/internal/tasks/FileWalkingBenchmark.java

    import org.apache.commons.io.FileUtils;
    import org.openjdk.jmh.annotations.Benchmark;
    import org.openjdk.jmh.annotations.Fork;
    import org.openjdk.jmh.annotations.Level;
    import org.openjdk.jmh.annotations.Measurement;
    import org.openjdk.jmh.annotations.Param;
    import org.openjdk.jmh.annotations.Scope;
    import org.openjdk.jmh.annotations.Setup;
    import org.openjdk.jmh.annotations.State;
    import org.openjdk.jmh.annotations.TearDown;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:43:12 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  10. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/BuildExperimentRunner.java

    public interface BuildExperimentRunner {
    
        void run(String testId, BuildExperimentSpec experiment, MeasuredOperationList results);
    
        enum Phase {
            WARMUP,
            MEASUREMENT
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 916 bytes
    - Viewed (0)
Back to top