123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- package bcache
- type Stats struct {
-
- Name string
- Bcache BcacheStats
- Bdevs []BdevStats
- Caches []CacheStats
- }
- type BcacheStats struct {
- AverageKeySize uint64
- BtreeCacheSize uint64
- CacheAvailablePercent uint64
- Congested uint64
- RootUsagePercent uint64
- TreeDepth uint64
- Internal InternalStats
- FiveMin PeriodStats
- Total PeriodStats
- }
- type BdevStats struct {
- Name string
- DirtyData uint64
- FiveMin PeriodStats
- Total PeriodStats
- }
- type CacheStats struct {
- Name string
- IOErrors uint64
- MetadataWritten uint64
- Written uint64
- Priority PriorityStats
- }
- type PriorityStats struct {
- UnusedPercent uint64
- MetadataPercent uint64
- }
- type InternalStats struct {
- ActiveJournalEntries uint64
- BtreeNodes uint64
- BtreeReadAverageDurationNanoSeconds uint64
- CacheReadRaces uint64
- }
- type PeriodStats struct {
- Bypassed uint64
- CacheBypassHits uint64
- CacheBypassMisses uint64
- CacheHits uint64
- CacheMissCollisions uint64
- CacheMisses uint64
- CacheReadaheads uint64
- }
|