Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,359 for measure (0.15 sec)

  1. 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)
  2. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/UnitOfWork.java

            return false;
        }
    
        /**
         * This is a temporary measure for Gradle tasks to track a legacy measurement of all input snapshotting together.
         */
        default void markLegacySnapshottingInputsStarted() {}
    
        /**
         * This is a temporary measure for Gradle tasks to track a legacy measurement of all input snapshotting together.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:28 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  3. src/runtime/runtime_test.go

    				// confusing the benchmarking framework for small b.N.
    				b.StopTimer()
    				stop()
    			})
    		}
    	}
    
    	// Measure the cost of counting goroutines
    	b.Run("small-nil", run(func() bool {
    		GoroutineProfile(nil)
    		return true
    	}))
    
    	// Measure the cost with a small set of goroutines
    	n := NumGoroutine()
    	p := make([]StackRecord, 2*n+2*GOMAXPROCS(0))
    	b.Run("small", run(func() bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  4. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/CrossVersionResultsStore.java

    package org.gradle.performance.results;
    
    import com.google.common.base.Joiner;
    import com.google.common.collect.Lists;
    import org.gradle.performance.measure.Amount;
    import org.gradle.performance.measure.DataSeries;
    import org.gradle.performance.measure.Duration;
    import org.gradle.performance.measure.MeasuredOperation;
    import org.gradle.util.GradleVersion;
    import org.joda.time.LocalDate;
    
    import java.math.BigDecimal;
    import java.sql.Connection;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 20K bytes
    - Viewed (0)
  5. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/BaseCrossBuildResultsStore.java

    import com.google.common.base.Joiner;
    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.Lists;
    import com.google.common.collect.Sets;
    import org.gradle.performance.measure.Duration;
    import org.gradle.performance.measure.MeasuredOperation;
    import org.joda.time.LocalDate;
    
    import java.sql.Connection;
    import java.sql.PreparedStatement;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  6. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/report/AbstractTablePageGenerator.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.performance.results.report;
    
    import org.gradle.performance.measure.DataSeries;
    import org.gradle.performance.measure.Duration;
    import org.gradle.performance.results.FormatSupport;
    import org.gradle.performance.results.PerformanceFlakinessDataProvider;
    import org.gradle.performance.results.PerformanceReportScenario;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  7. src/go/types/assignments.go

    		}
    		res = append(res, s)
    	}
    	return "(" + strings.Join(res, ", ") + ")"
    }
    
    func measure(x int, unit string) string {
    	if x != 1 {
    		unit += "s"
    	}
    	return fmt.Sprintf("%d %s", x, unit)
    }
    
    func (check *Checker) assignError(rhs []ast.Expr, l, r int) {
    	vars := measure(l, "variable")
    	vals := measure(r, "value")
    	rhs0 := rhs[0]
    
    	if len(rhs) == 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  8. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/work/DefaultWorkerLeaseService.java

            coordinationService.withStateLock(unlock(locks));
        }
    
        private void acquireLocks(final Iterable<? extends ResourceLock> locks) {
            if (containsProjectLocks(locks)) {
                projectLockStatistics.measure(new Runnable() {
                    @Override
                    public void run() {
                        coordinationService.withStateLock(lock(locks));
                    }
                });
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 09 04:43:28 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/assignments.go

    		}
    		res = append(res, s)
    	}
    	return "(" + strings.Join(res, ", ") + ")"
    }
    
    func measure(x int, unit string) string {
    	if x != 1 {
    		unit += "s"
    	}
    	return fmt.Sprintf("%d %s", x, unit)
    }
    
    func (check *Checker) assignError(rhs []syntax.Expr, l, r int) {
    	vars := measure(l, "variable")
    	vals := measure(r, "value")
    	rhs0 := rhs[0]
    
    	if len(rhs) == 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 23 21:21:43 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  10. cmd/bucket-replication-stats.go

    			return
    		}
    	}
    }
    
    func (r *ReplicationStats) updateMovingAvg() {
    	r.RLock()
    	for _, s := range r.Cache {
    		for _, st := range s.Stats {
    			st.XferRateLrg.measure.updateExponentialMovingAverage(time.Now())
    			st.XferRateSml.measure.updateExponentialMovingAverage(time.Now())
    		}
    	}
    	r.RUnlock()
    }
    
    // ActiveWorkers returns worker stats
    func (r *ReplicationStats) ActiveWorkers() ActiveWorkerStat {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top