Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for AllTierStats (0.07 sec)

  1. cmd/data-usage-cache.go

    	ObjVersions   versionsHistogram `msg:"vh"`
    	AllTierStats  *allTierStats     `msg:"ats,omitempty"`
    	Compacted     bool              `msg:"c"`
    }
    
    // allTierStats is a collection of per-tier stats across all configured remote
    // tiers.
    type allTierStats struct {
    	Tiers map[string]tierStats `msg:"ts"`
    }
    
    func newAllTierStats() *allTierStats {
    	return &allTierStats{
    		Tiers: make(map[string]tierStats),
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  2. cmd/data-usage-cache_gen_test.go

    	}
    }
    
    func BenchmarkMarshalMsgallTierStats(b *testing.B) {
    	v := allTierStats{}
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		v.MarshalMsg(nil)
    	}
    }
    
    func BenchmarkAppendMsgallTierStats(b *testing.B) {
    	v := allTierStats{}
    	bts := make([]byte, 0, v.Msgsize())
    	bts, _ = v.MarshalMsg(bts[0:0])
    	b.SetBytes(int64(len(bts)))
    	b.ReportAllocs()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 22:23:33 UTC 2024
    - 19K bytes
    - Viewed (0)
  3. cmd/data-usage-cache_gen.go

    				err = dc.ReadNil()
    				if err != nil {
    					err = msgp.WrapError(err, "AllTierStats")
    					return
    				}
    				z.AllTierStats = nil
    			} else {
    				if z.AllTierStats == nil {
    					z.AllTierStats = new(allTierStats)
    				}
    				err = z.AllTierStats.DecodeMsg(dc)
    				if err != nil {
    					err = msgp.WrapError(err, "AllTierStats")
    					return
    				}
    			}
    			zb0001Mask |= 0x1
    		case "c":
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 75K bytes
    - Viewed (0)
  4. cmd/data-usage-utils.go

    	// Deprecated kept here for backward compatibility reasons.
    	BucketSizes map[string]uint64 `json:"bucketsSizes"`
    
    	// TierStats contains per-tier stats of all configured remote tiers
    	TierStats *allTierStats `json:"tierStats,omitempty"`
    }
    
    func (dui DataUsageInfo) tierStats() []madmin.TierInfo {
    	if dui.TierStats == nil {
    		return nil
    	}
    
    	if globalTierConfigMgr.Empty() {
    		return nil
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Mar 10 09:15:15 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top