Merge "DfsReaderIoStats: Add Commit Graph fields into DfsReaderIoStats"
This commit is contained in:
commit
8898d62dbc
|
@ -28,6 +28,9 @@ public static class Accumulator {
|
||||||
/** Total number of cache hits for bitmap indexes. */
|
/** Total number of cache hits for bitmap indexes. */
|
||||||
long bitmapCacheHit;
|
long bitmapCacheHit;
|
||||||
|
|
||||||
|
/** Total number of cache hits for commit graphs. */
|
||||||
|
long commitGraphCacheHit;
|
||||||
|
|
||||||
/** Total number of complete pack indexes read into memory. */
|
/** Total number of complete pack indexes read into memory. */
|
||||||
long readIdx;
|
long readIdx;
|
||||||
|
|
||||||
|
@ -37,15 +40,24 @@ public static class Accumulator {
|
||||||
/** Total number of reverse indexes added into memory. */
|
/** Total number of reverse indexes added into memory. */
|
||||||
long readReverseIdx;
|
long readReverseIdx;
|
||||||
|
|
||||||
|
/** Total number of complete commit graphs read into memory. */
|
||||||
|
long readCommitGraph;
|
||||||
|
|
||||||
/** Total number of bytes read from pack indexes. */
|
/** Total number of bytes read from pack indexes. */
|
||||||
long readIdxBytes;
|
long readIdxBytes;
|
||||||
|
|
||||||
|
/** Total number of bytes read from commit graphs. */
|
||||||
|
long readCommitGraphBytes;
|
||||||
|
|
||||||
/** Total microseconds spent reading pack indexes. */
|
/** Total microseconds spent reading pack indexes. */
|
||||||
long readIdxMicros;
|
long readIdxMicros;
|
||||||
|
|
||||||
/** Total microseconds spent creating reverse indexes. */
|
/** Total microseconds spent creating reverse indexes. */
|
||||||
long readReverseIdxMicros;
|
long readReverseIdxMicros;
|
||||||
|
|
||||||
|
/** Total microseconds spent creating commit graphs. */
|
||||||
|
long readCommitGraphMicros;
|
||||||
|
|
||||||
/** Total number of bytes read from bitmap indexes. */
|
/** Total number of bytes read from bitmap indexes. */
|
||||||
long readBitmapIdxBytes;
|
long readBitmapIdxBytes;
|
||||||
|
|
||||||
|
@ -122,6 +134,15 @@ public long getBitmapIndexCacheHits() {
|
||||||
return stats.bitmapCacheHit;
|
return stats.bitmapCacheHit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get total number of commit graph cache hits.
|
||||||
|
*
|
||||||
|
* @return total number of commit graph cache hits.
|
||||||
|
*/
|
||||||
|
public long getCommitGraphCacheHits() {
|
||||||
|
return stats.commitGraphCacheHit;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get total number of complete pack indexes read into memory.
|
* Get total number of complete pack indexes read into memory.
|
||||||
*
|
*
|
||||||
|
@ -140,6 +161,15 @@ public long getReadReverseIndexCount() {
|
||||||
return stats.readReverseIdx;
|
return stats.readReverseIdx;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get total number of times the commit graph read into memory.
|
||||||
|
*
|
||||||
|
* @return total number of commit graph read into memory.
|
||||||
|
*/
|
||||||
|
public long getReadCommitGraphCount() {
|
||||||
|
return stats.readCommitGraph;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get total number of complete bitmap indexes read into memory.
|
* Get total number of complete bitmap indexes read into memory.
|
||||||
*
|
*
|
||||||
|
@ -158,6 +188,15 @@ public long getReadIndexBytes() {
|
||||||
return stats.readIdxBytes;
|
return stats.readIdxBytes;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get total number of bytes read from commit graphs.
|
||||||
|
*
|
||||||
|
* @return total number of bytes read from commit graphs.
|
||||||
|
*/
|
||||||
|
public long getCommitGraphBytes() {
|
||||||
|
return stats.readCommitGraphBytes;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get total microseconds spent reading pack indexes.
|
* Get total microseconds spent reading pack indexes.
|
||||||
*
|
*
|
||||||
|
@ -176,6 +215,15 @@ public long getReadReverseIndexMicros() {
|
||||||
return stats.readReverseIdxMicros;
|
return stats.readReverseIdxMicros;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get total microseconds spent reading commit graphs.
|
||||||
|
*
|
||||||
|
* @return total microseconds spent reading commit graphs.
|
||||||
|
*/
|
||||||
|
public long getReadCommitGraphMicros() {
|
||||||
|
return stats.readCommitGraphMicros;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get total number of bytes read from bitmap indexes.
|
* Get total number of bytes read from bitmap indexes.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue