Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 939 for Measure (0.39 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))
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/collect/MapsMemoryBenchmark.java

      /**
       * A map of contents pre-created before experiment starts to only measure map creation cost. The
       * implementation for the creation of contents is independent and could be different from that of
       * the map under test.
       */
      Map<Element, Element> contents;
    
      /** Map pre-created before experiment starts to only measure iteration cost during experiment. */
      Map<Element, Element> map;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 20 15:07:46 GMT 2019
    - 3.4K bytes
    - Viewed (0)
  3. cmd/speedtest.go

    				totalDownloadTTFB = append(totalDownloadTTFB, throughputHighestResults[i].DownloadTTFB...)
    			}
    
    			result.PUTStats.Response = totalUploadTimes.Measure()
    			result.GETStats.Response = totalDownloadTimes.Measure()
    			result.GETStats.TTFB = totalDownloadTTFB.Measure()
    
    			result.Size = opts.objectSize
    			result.Disks = globalEndpoints.NEndpoints()
    			result.Servers = len(globalNotificationSys.peerClients) + 1
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Jan 28 18:04:17 GMT 2024
    - 9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Ticker.java

     * fixed but arbitrary point in time. Note that most users should use {@link Stopwatch} instead of
     * interacting with this class directly.
     *
     * <p><b>Warning:</b> this interface can only be used to measure elapsed time, not wall time.
     *
     * @author Kevin Bourrillion
     * @since 10.0 (<a href="https://github.com/google/guava/wiki/Compatibility">mostly
     *     source-compatible</a> since 9.0)
     */
    @GwtCompatible
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue May 23 23:27:53 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  5. .github/ISSUE_TEMPLATE/12-telemetry.yml

        label: Counter names
        description: Names of counters to add or update.
      validations:
        required: true
    - type: textarea
      attributes:
        label: Description
        description: What do these counters measure?
      validations:
        required: true
    - type: textarea
      attributes:
        label: Rationale
        description: |
          Why is the counter important?
    Others
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Nov 27 17:23:51 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

      private void weaklyReferenceQueue() {
        frq = new FinalizableReferenceQueue();
        queueReference = new WeakReference<>(frq.queue);
    
        /*
         * Queue and clear a reference for good measure. We test later on that
         * the finalizer thread stopped, but we should test that it actually
         * started first.
         */
        reference =
            new FinalizableWeakReference<Object>(new Object(), frq) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 10 08:40:05 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

      private void weaklyReferenceQueue() {
        frq = new FinalizableReferenceQueue();
        queueReference = new WeakReference<>(frq.queue);
    
        /*
         * Queue and clear a reference for good measure. We test later on that
         * the finalizer thread stopped, but we should test that it actually
         * started first.
         */
        reference =
            new FinalizableWeakReference<Object>(new Object(), frq) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Oct 10 08:40:05 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/coordination/v1beta1/generated.proto

      // +optional
      optional string holderIdentity = 1;
    
      // leaseDurationSeconds is a duration that candidates for a lease need
      // to wait to force acquire it. This is measure against time of last
      // observed renewTime.
      // +optional
      optional int32 leaseDurationSeconds = 2;
    
      // acquireTime is a time when the current lease was acquired.
      // +optional
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/collect/SetCreationBenchmark.java

    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import com.google.common.collect.BenchmarkHelpers.SetImpl;
    
    /**
     * This is meant to be used with {@code --measureMemory} to measure the memory usage of various
     * {@code Set} implementations.
     *
     * @author Christopher Swenson
     */
    public class SetCreationBenchmark {
      @Param({
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.8K 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 {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 13.4K bytes
    - Viewed (0)
Back to top