Class DfsReaderIoStats
- java.lang.Object
-
- org.eclipse.jgit.internal.storage.dfs.DfsReaderIoStats
-
public class DfsReaderIoStats extends java.lang.Object
IO statistics for aDfsReader
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DfsReaderIoStats.Accumulator
POJO to accumulate IO statistics.
-
Field Summary
Fields Modifier and Type Field Description private DfsReaderIoStats.Accumulator
stats
-
Constructor Summary
Constructors Constructor Description DfsReaderIoStats(DfsReaderIoStats.Accumulator stats)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getBlockCacheHits()
Get total number of block cache hits.long
getInflatedBytes()
Get total number of bytes decompressed.long
getInflationMicros()
Get total microseconds spent inflating compressed bytes.long
getReadBitmapIndexCount()
Get total number of complete bitmap indexes read into memory.long
getReadBlocksBytes()
Get total number of compressed bytes read during cache misses, as block sized units.long
getReadBlocksCount()
Get total number of discrete blocks actually read from pack file(s), that is, block cache misses.long
getReadBlocksMicros()
Get total microseconds spent reading blocks during cache misses.long
getReadIndexBytes()
Get total number of bytes read from indexes.long
getReadIndexMicros()
Get total microseconds spent reading pack or bitmap indexes.long
getReadPackIndexCount()
Get total number of complete pack indexes read into memory.long
getScanPacks()
Get number of times the reader explicitly called scanPacks.
-
-
-
Field Detail
-
stats
private final DfsReaderIoStats.Accumulator stats
-
-
Constructor Detail
-
DfsReaderIoStats
DfsReaderIoStats(DfsReaderIoStats.Accumulator stats)
-
-
Method Detail
-
getScanPacks
public long getScanPacks()
Get number of times the reader explicitly called scanPacks.- Returns:
- number of times the reader explicitly called scanPacks.
-
getReadPackIndexCount
public long getReadPackIndexCount()
Get total number of complete pack indexes read into memory.- Returns:
- total number of complete pack indexes read into memory.
-
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 indexes.- Returns:
- total number of bytes read from indexes.
-
getReadIndexMicros
public long getReadIndexMicros()
Get total microseconds spent reading pack or bitmap indexes.- Returns:
- total microseconds spent reading pack or 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.
-
-