Class DfsReaderIoStats
java.lang.Object
org.eclipse.jgit.internal.storage.dfs.DfsReaderIoStats
IO statistics for a
DfsReader
.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
POJO to accumulate IO statistics. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
Get total number of bitmap index cache hits.long
Get total number of block cache hits.long
Get total number of bytes decompressed.long
Get total microseconds spent inflating compressed bytes.long
Get total number of pack index cache hits.long
Get total number of bytes read from bitmap indexes.long
Get total number of complete bitmap indexes read into memory.long
Get total microseconds spent reading bitmap indexes.long
Get total number of compressed bytes read during cache misses, as block sized units.long
Get total number of discrete blocks actually read from pack file(s), that is, block cache misses.long
Get total microseconds spent reading blocks during cache misses.long
Get total number of bytes read from pack indexes.long
Get total microseconds spent reading pack indexes.long
Get total number of complete pack indexes read into memory.long
Get total number of times the reverse index was computed.long
Get total microseconds spent creating reverse indexes.long
Get total number of reverse index cache hits.long
Get number of times the reader explicitly called scanPacks.
-
Field Details
-
stats
-
-
Constructor Details
-
DfsReaderIoStats
DfsReaderIoStats(DfsReaderIoStats.Accumulator stats)
-
-
Method Details
-
getScanPacks
public long getScanPacks()Get number of times the reader explicitly called scanPacks.- Returns:
- number of times the reader explicitly called scanPacks.
-
getPackIndexCacheHits
public long getPackIndexCacheHits()Get total number of pack index cache hits.- Returns:
- total number of pack index cache hits.
-
getReverseIndexCacheHits
public long getReverseIndexCacheHits()Get total number of reverse index cache hits.- Returns:
- total number of reverse index cache hits.
-
getBitmapIndexCacheHits
public long getBitmapIndexCacheHits()Get total number of bitmap index cache hits.- Returns:
- total number of bitmap index cache hits.
-
getReadPackIndexCount
public long getReadPackIndexCount()Get total number of complete pack indexes read into memory.- Returns:
- total number of complete pack indexes read into memory.
-
getReadReverseIndexCount
public long getReadReverseIndexCount()Get total number of times the reverse index was computed.- Returns:
- total number of reverse index was computed.
-
getReadBitmapIndexCount
public long getReadBitmapIndexCount()Get total number of complete bitmap indexes read into memory.- Returns:
- total number of complete bitmap indexes read into memory.
-
getReadIndexBytes
public long getReadIndexBytes()Get total number of bytes read from pack indexes.- Returns:
- total number of bytes read from pack indexes.
-
getReadIndexMicros
public long getReadIndexMicros()Get total microseconds spent reading pack indexes.- Returns:
- total microseconds spent reading pack indexes.
-
getReadReverseIndexMicros
public long getReadReverseIndexMicros()Get total microseconds spent creating reverse indexes.- Returns:
- total microseconds spent creating reverse indexes.
-
getReadBitmapIndexBytes
public long getReadBitmapIndexBytes()Get total number of bytes read from bitmap indexes.- Returns:
- total number of bytes read from bitmap indexes.
-
getReadBitmapIndexMicros
public long getReadBitmapIndexMicros()Get total microseconds spent reading bitmap indexes.- Returns:
- total microseconds spent reading bitmap indexes.
-
getBlockCacheHits
public long getBlockCacheHits()Get total number of block cache hits.- Returns:
- total number of block cache hits.
-
getReadBlocksCount
public long getReadBlocksCount()Get total number of discrete blocks actually read from pack file(s), that is, block cache misses.- Returns:
- total number of discrete blocks read from pack file(s).
-
getReadBlocksBytes
public long getReadBlocksBytes()Get total number of compressed bytes read during cache misses, as block sized units.- Returns:
- total number of compressed bytes read as block sized units.
-
getReadBlocksMicros
public long getReadBlocksMicros()Get total microseconds spent reading blocks during cache misses.- Returns:
- total microseconds spent reading blocks.
-
getInflatedBytes
public long getInflatedBytes()Get total number of bytes decompressed.- Returns:
- total number of bytes decompressed.
-
getInflationMicros
public long getInflationMicros()Get total microseconds spent inflating compressed bytes.- Returns:
- total microseconds inflating compressed bytes.
-