Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for measuredH (0.2 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 28 19:28:10 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  2. internal/bucket/bandwidth/monitor.go

    			return true
    		}
    	}
    	return func(bucket string) bool {
    		for _, bkt := range buckets {
    			if bkt == bucket {
    				return true
    			}
    		}
    		return false
    	}
    }
    
    // Details for the measured bandwidth
    type Details struct {
    	LimitInBytesPerSecond            int64   `json:"limitInBits"`
    	CurrentBandwidthInBytesPerSecond float64 `json:"currentBandwidth"`
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 19 22:54:46 GMT 2024
    - 6K bytes
    - Viewed (0)
  3. 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 May 01 22:53:12 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  4. cmd/site-replication-metrics.go

    			return
    		}
    	}
    }
    
    func (sr *SRStats) updateMovingAvg() {
    	sr.lock.Lock()
    	defer sr.lock.Unlock()
    	for _, s := range sr.M {
    		s.XferRateLrg.measure.updateExponentialMovingAverage(time.Now())
    		s.XferRateSml.measure.updateExponentialMovingAverage(time.Now())
    	}
    }
    
    // SRMetric captures replication metrics for a deployment
    type SRMetric struct {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  5. 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 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/coordination/v1/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 May 01 22:53:12 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/LittleEndianByteArray.java

       * @param offset the offset into the array at which to start
       * @return the value found in the array in the form of a long
       */
      static int load32(byte[] source, int offset) {
        // TODO(user): Measure the benefit of delegating this to LittleEndianBytes also.
        return (source[offset] & 0xFF)
            | ((source[offset + 1] & 0xFF) << 8)
            | ((source[offset + 2] & 0xFF) << 16)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/CacheBuilder.java

     *   <li>least-recently-used eviction when a maximum size is exceeded (note that the cache is
     *       divided into segments, each of which does LRU internally)
     *   <li>time-based expiration of entries, measured since last access or last write
     *   <li>keys automatically wrapped in {@code WeakReference}
     *   <li>values automatically wrapped in {@code WeakReference} or {@code SoftReference}
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/Cache.kt

     * may cause corruption or runtime errors if not. It may however be shared amongst multiple OkHttpClient
     * instances.
     *
     * ## Cache Optimization
     *
     * To measure cache effectiveness, this class tracks three statistics:
     *
     *  * **[Request Count:][requestCount]** the number of HTTP requests issued since this cache was
     *    created.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/cache/CacheBuilder.java

     *   <li>least-recently-used eviction when a maximum size is exceeded (note that the cache is
     *       divided into segments, each of which does LRU internally)
     *   <li>time-based expiration of entries, measured since last access or last write
     *   <li>keys automatically wrapped in {@code WeakReference}
     *   <li>values automatically wrapped in {@code WeakReference} or {@code SoftReference}
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
Back to top