Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for lastMinute (0.07 sec)

  1. cmd/bucket-stats.go

    type ReplicationLastMinute struct {
    	LastMinute lastMinuteLatency
    }
    
    func (rl ReplicationLastMinute) merge(other ReplicationLastMinute) (nl ReplicationLastMinute) {
    	nl = ReplicationLastMinute{rl.LastMinute.merge(other.LastMinute)}
    	return
    }
    
    func (rl *ReplicationLastMinute) addsize(n int64) {
    	t := time.Now().Unix()
    	rl.LastMinute.addAll(t-1, AccElem{Total: t - 1, Size: n, N: 1})
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 11:39:51 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  2. cmd/erasure.go

    			if hi := disks[index].Healing(); hi != nil {
    				hd := hi.toHealingDisk()
    				di.HealInfo = &hd
    			}
    			di.Metrics = &madmin.DiskMetrics{
    				LastMinute:              make(map[string]madmin.TimedAction, len(info.Metrics.LastMinute)),
    				APICalls:                make(map[string]uint64, len(info.Metrics.APICalls)),
    				TotalErrorsAvailability: info.Metrics.TotalErrorsAvailability,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 22:23:33 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  3. cmd/storage-datatypes_gen.go

    		switch msgp.UnsafeString(field) {
    		case "LastMinute":
    			var zb0002 uint32
    			zb0002, err = dc.ReadMapHeader()
    			if err != nil {
    				err = msgp.WrapError(err, "LastMinute")
    				return
    			}
    			if z.LastMinute == nil {
    				z.LastMinute = make(map[string]AccElem, zb0002)
    			} else if len(z.LastMinute) > 0 {
    				for key := range z.LastMinute {
    					delete(z.LastMinute, key)
    				}
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 150.2K bytes
    - Viewed (0)
  4. cmd/xl-storage-disk-id-check.go

    		cachevalue.Opts{},
    		func(ctx context.Context) (DiskMetrics, error) {
    			diskMetric := DiskMetrics{
    				LastMinute: make(map[string]AccElem, len(p.apiLatencies)),
    				APICalls:   make(map[string]uint64, len(p.apiCalls)),
    			}
    			for i, v := range p.apiLatencies {
    				diskMetric.LastMinute[storageMetric(i).String()] = v.total()
    			}
    			for i := range p.apiCalls {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:56:26 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  5. cmd/storage-datatypes.go

    }
    
    // DiskMetrics has the information about XL Storage APIs
    // the number of calls of each API and the moving average of
    // the duration of each API.
    type DiskMetrics struct {
    	LastMinute              map[string]AccElem `json:"apiLatencies,omitempty"`
    	APICalls                map[string]uint64  `json:"apiCalls,omitempty"`
    	TotalWaiting            uint32             `json:"totalWaiting,omitempty"`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 17.3K bytes
    - Viewed (0)
Back to top