Skip to content

Changes

Summary

  1. Track read IO for DfsReader (details)
Commit 562de51239a24440c495eaae157b881af5cac2c7 by Shawn O. Pearce
Track read IO for DfsReader

Compute how much disk IO a DfsReader is performing, and how long the
sum of those operations took on this reader instance. Implementations
of DFS and interested applications can get the stats by calling the
new DfsReader.getIoStats() method at or after close().

Change-Id: If585741301f29182617933d6406d4a70497f2ca7
The file was modified org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsReader.java
The file was addedorg.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsReaderIoStats.java
The file was modified org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsBlockCache.java
The file was modified org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsPackFile.java