Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,877 for measure (0.13 sec)

  1. pkg/collateral/metrics/otel_test.go

    	assert.Equal(t, metrics.ExportedMetrics(), want)
    }
    
    var (
    	// AttributesTotal is a measure of the number of known attributes.
    	AttributesTotal = monitoring.NewGauge(
    		"mixer/config/attributes_total",
    		"The number of known attributes in the current config.",
    	)
    
    	// HandlersTotal is a measure of the number of known handlers.
    	HandlersTotal = monitoring.NewSum(
    		"mixer/config/handler_configs_total",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 17 20:25:52 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  2. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/MeasuredOperationList.groovy

     * limitations under the License.
     */
    
    package org.gradle.performance.results
    
    import groovy.transform.CompileStatic
    import org.gradle.performance.measure.DataSeries
    import org.gradle.performance.measure.Duration
    import org.gradle.performance.measure.MeasuredOperation
    
    @CompileStatic
    public class MeasuredOperationList extends LinkedList<MeasuredOperation> {
        String name
    
        DataSeries<Duration> getTotalTime() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  3. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/PrettyCalculator.groovy

     * limitations under the License.
     */
    
    package org.gradle.performance.results
    
    import groovy.transform.CompileStatic
    import org.gradle.performance.measure.Amount
    import org.gradle.performance.measure.DataAmount
    import org.gradle.performance.measure.Duration
    
    import java.math.RoundingMode
    
    @CompileStatic
    class PrettyCalculator {
    
        static String toBytes(Amount<DataAmount> bytes) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. cmd/bucket-replication-metrics.go

    		measure: rx.measure,
    		N:       rx.N + o.N,
    	}
    }
    
    func calcAvg(x, y float64, n1, n2 int64) float64 {
    	if n1+n2 == 0 {
    		return 0
    	}
    	avg := (x*float64(n1) + y*float64(n2)) / float64(n1+n2)
    	return avg
    }
    
    // Add a new transfer
    func (rx *XferStats) addSize(sz int64, t time.Duration) {
    	if rx.measure == nil {
    		rx.measure = newRateMeasurement(time.Now())
    	}
    	rx.measure.incrementBytes(uint64(sz))
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  5. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/FormatSupport.java

     * limitations under the License.
     */
    
    package org.gradle.performance.results;
    
    import org.gradle.performance.measure.Amount;
    import org.gradle.performance.measure.DataSeries;
    import org.gradle.performance.measure.Duration;
    
    import java.math.BigDecimal;
    import java.math.RoundingMode;
    import java.text.DateFormat;
    import java.text.SimpleDateFormat;
    import java.time.Instant;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/BaselineVersion.groovy

     * limitations under the License.
     */
    
    package org.gradle.performance.results
    
    import groovy.transform.CompileStatic
    import org.gradle.performance.measure.Amount
    import org.gradle.performance.measure.DataSeries
    import org.gradle.performance.measure.Duration
    
    import java.util.function.BiPredicate
    
    import static PrettyCalculator.toMillis
    
    /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. testing/internal-performance-testing/src/test/groovy/org/gradle/performance/results/BaselineVersionTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.performance.results
    
    import org.gradle.performance.measure.DataSeries
    import org.gradle.performance.measure.Duration
    import org.gradle.performance.measure.MeasuredOperation
    import spock.lang.Specification
    
    class BaselineVersionTest extends Specification {
        def baseline = new BaselineVersion("7.5")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/events/StatusEvent.java

         *
         * @return The total amount of work, or -1 if not known.
         */
        long getTotal();
    
        /**
         * The measure used to express the amount of work.
         *
         * @return The measure used to express the amount of work.
         */
        String getUnit();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  9. testing/internal-performance-testing/src/test/groovy/org/gradle/performance/fixture/PrettyCalculatorSpec.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.performance.fixture
    
    import org.gradle.performance.measure.Amount
    import org.gradle.performance.measure.Duration
    import spock.lang.Specification
    
    import static org.gradle.performance.results.PrettyCalculator.percentChange
    
    class PrettyCalculatorSpec extends Specification {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. platforms/core-runtime/time/src/main/java/org/gradle/internal/time/Time.java

        }
    
        /**
         * Measures elapsed time.
         *
         * Timers use System.nanoTime() to measure elapsed time,
         * and are therefore not synchronized with {@link #clock()} or the system wall clock.
         *
         * System.nanoTime() does not consider time elapsed while the system is in hibernation.
         * Therefore, timers effectively measure the elapsed time, of which the system was awake.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:20:17 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top