DfsReaderIoStats: getters to object size index micros/bytes These properties of the stats object don't have a getter and it is required to export those values in logs. Change-Id: I7f91a38ee4d02668aff1cbc8424ea669cdb1d2f7
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsReaderIoStats.java b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsReaderIoStats.java index 1e5e439..fcfa3e0 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsReaderIoStats.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsReaderIoStats.java
@@ -249,6 +249,15 @@ public long getCommitGraphBytes() { } /** + * Get total number of bytes read from object size indexes. + * + * @return total number of bytes read from object size indexes. + */ + public long getObjectSizeIndexBytes() { + return stats.readObjectSizeIndexBytes; + } + + /** * Get total microseconds spent reading pack indexes. * * @return total microseconds spent reading pack indexes. @@ -285,6 +294,15 @@ public long getReadCommitGraphMicros() { } /** + * Get total microseconds spent reading object size indexes. + * + * @return total microseconds spent reading object size indexes. + */ + public long getReadObjectSizeIndexMicros() { + return stats.readObjectSizeIndexMicros; + } + + /** * Get total number of block cache hits. * * @return total number of block cache hits.